From cb1c1ca86d4f53671894853c971c607c33725561 Mon Sep 17 00:00:00 2001 From: Dirk Mueller Date: Tue, 22 Oct 2002 18:17:44 +0000 Subject: [PATCH] argh, bloody Qt!!! they renamed the internal variable we're using here :-) svn path=/trunk/kdebase/kwin/; revision=185172 --- client.cpp | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/client.cpp b/client.cpp index b2f9f8010d..eddc91eb09 100644 --- a/client.cpp +++ b/client.cpp @@ -104,7 +104,7 @@ public: extern Atom qt_wm_state; extern Time qt_x_time; -extern Atom qt_window_role; +extern Atom qt_wm_window_role; extern Atom qt_sm_client_id; static int nullErrorHandler(Display *, XErrorEvent *) @@ -1412,6 +1412,7 @@ void Client::sendSyntheticConfigureNotify() c.border_width = 0; c.above = None; c.override_redirect = 0; + qDebug("sending width: %d, %d", c.width, c.height); XSendEvent( qt_xdisplay(), c.event, TRUE, StructureNotifyMask, (XEvent*)&c ); } @@ -2857,7 +2858,7 @@ static QCString getStringProperty(WId w, Atom prop, char separator=0) */ QCString Client::staticWindowRole(WId w) { - return getStringProperty(w, qt_window_role); + return getStringProperty(w, qt_wm_window_role); } /*!