diff options
author | Jim Ramsay <i.am@jimramsay.com> | 2009-05-01 22:15:34 (GMT) |
---|---|---|
committer | Jim Ramsay <i.am@jimramsay.com> | 2009-05-01 22:15:34 (GMT) |
commit | 8c7f2ea10eadb76de4eb42d1b4c841171539db17 (patch) | |
tree | bcf79ecd06a138ac560d79324aa80bebd08677d4 /src/WinClient.cc | |
parent | dfa360e8905509e3e19db4279fc4066e52014676 (diff) | |
download | fluxbox_lack-8c7f2ea10eadb76de4eb42d1b4c841171539db17.zip fluxbox_lack-8c7f2ea10eadb76de4eb42d1b4c841171539db17.tar.bz2 |
Everything but Text
Managed 32-bit visuals for everything, but text is broken (menus, titlebars,
etc)
Diffstat (limited to 'src/WinClient.cc')
-rw-r--r-- | src/WinClient.cc | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/WinClient.cc b/src/WinClient.cc index 3a22e4a..c64f5d8 100644 --- a/src/WinClient.cc +++ b/src/WinClient.cc | |||
@@ -107,6 +107,12 @@ WinClient::WinClient(Window win, BScreen &screen, FluxboxWindow *fbwin): | |||
107 | // this needs to be done before creating an fbwindow, so this doesn't get | 107 | // this needs to be done before creating an fbwindow, so this doesn't get |
108 | // tabbed using the apps file | 108 | // tabbed using the apps file |
109 | updateTransientInfo(); | 109 | updateTransientInfo(); |
110 | |||
111 | // Record the visual | ||
112 | XWindowAttributes a; | ||
113 | XGetWindowAttributes(display(), win, &a); | ||
114 | m_visual = a.visual; | ||
115 | printf("WinClient: Client visual is 0x%02x\n", (unsigned)XVisualIDFromVisual(m_visual)); | ||
110 | } | 116 | } |
111 | 117 | ||
112 | WinClient::~WinClient() { | 118 | WinClient::~WinClient() { |