argh, bloody Qt!!!

they renamed the internal variable we're using here :-)

svn path=/trunk/kdebase/kwin/; revision=185172
This commit is contained in:
Dirk Mueller 2002-10-22 18:17:44 +00:00
parent 9711f8b576
commit cb1c1ca86d

View file

@ -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);
}
/*!