summaryrefslogtreecommitdiff
path: root/src/WinClient.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/WinClient.cc')
-rw-r--r--src/WinClient.cc6
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
112WinClient::~WinClient() { 118WinClient::~WinClient() {