aboutsummaryrefslogtreecommitdiff
path: root/src/Screen.cc
diff options
context:
space:
mode:
authormarkt <markt>2006-08-09 04:54:58 (GMT)
committermarkt <markt>2006-08-09 04:54:58 (GMT)
commit6c4dcc679bd38096da08ef96b544a552d6c8776a (patch)
treeb49d715c80045e3d67fc72cdfa9e93dcb140f530 /src/Screen.cc
parentbd8ef1bc87518d575a422dad43a24a32888e478e (diff)
downloadfluxbox_pavel-6c4dcc679bd38096da08ef96b544a552d6c8776a.zip
fluxbox_pavel-6c4dcc679bd38096da08ef96b544a552d6c8776a.tar.bz2
it never existed (what never existed?)
Diffstat (limited to 'src/Screen.cc')
-rw-r--r--src/Screen.cc7
1 files changed, 3 insertions, 4 deletions
diff --git a/src/Screen.cc b/src/Screen.cc
index 65359e4..d2117ff 100644
--- a/src/Screen.cc
+++ b/src/Screen.cc
@@ -1281,8 +1281,7 @@ bool BScreen::isKdeDockapp(Window client) const {
1281 bool iskdedockapp = false; 1281 bool iskdedockapp = false;
1282 Atom ajunk; 1282 Atom ajunk;
1283 int ijunk; 1283 int ijunk;
1284 unsigned char *data = 0; 1284 unsigned long *data = 0, uljunk;
1285 unsigned long uljunk;
1286 Display *disp = FbTk::App::instance()->display(); 1285 Display *disp = FbTk::App::instance()->display();
1287 // Check if KDE v2.x dock applet 1286 // Check if KDE v2.x dock applet
1288 if (XGetWindowProperty(disp, client, 1287 if (XGetWindowProperty(disp, client,
@@ -1290,7 +1289,7 @@ bool BScreen::isKdeDockapp(Window client) const {
1290 "_KDE_NET_WM_SYSTEM_TRAY_WINDOW_FOR", False), 1289 "_KDE_NET_WM_SYSTEM_TRAY_WINDOW_FOR", False),
1291 0l, 1l, False, 1290 0l, 1l, False,
1292 XA_WINDOW, &ajunk, &ijunk, &uljunk, 1291 XA_WINDOW, &ajunk, &ijunk, &uljunk,
1293 &uljunk, &data) == Success) { 1292 &uljunk, (unsigned char **) &data) == Success) {
1294 1293
1295 if (data) 1294 if (data)
1296 iskdedockapp = true; 1295 iskdedockapp = true;
@@ -1305,7 +1304,7 @@ bool BScreen::isKdeDockapp(Window client) const {
1305 if (XGetWindowProperty(disp, client, 1304 if (XGetWindowProperty(disp, client,
1306 kwm1, 0l, 1l, False, 1305 kwm1, 0l, 1l, False,
1307 kwm1, &ajunk, &ijunk, &uljunk, 1306 kwm1, &ajunk, &ijunk, &uljunk,
1308 &uljunk, &data) == Success && data) { 1307 &uljunk, (unsigned char **) &data) == Success && data) {
1309 iskdedockapp = (data && data[0] != 0); 1308 iskdedockapp = (data && data[0] != 0);
1310 XFree((void *) data); 1309 XFree((void *) data);
1311 data = 0; 1310 data = 0;