Enable configure notify event handling in Unmanaged
This commit is contained in:
parent
62c044601b
commit
188d01567d
2 changed files with 5 additions and 5 deletions
|
@ -1531,10 +1531,10 @@ bool Unmanaged::windowEvent(xcb_generic_event_t *e)
|
|||
workspace()->updateFocusMousePosition(Cursor::pos());
|
||||
release();
|
||||
break;
|
||||
#if KWIN_QT5_PORTING
|
||||
case ConfigureNotify:
|
||||
configureNotifyEvent(&e->xconfigure);
|
||||
case XCB_CONFIGURE_NOTIFY:
|
||||
configureNotifyEvent(reinterpret_cast<xcb_configure_notify_event_t*>(e));
|
||||
break;
|
||||
#if KWIN_QT5_PORTING
|
||||
case PropertyNotify:
|
||||
propertyNotifyEvent(&e->xproperty);
|
||||
break;
|
||||
|
@ -1554,7 +1554,7 @@ bool Unmanaged::windowEvent(xcb_generic_event_t *e)
|
|||
return false; // don't eat events, even our own unmanaged widgets are tracked
|
||||
}
|
||||
|
||||
void Unmanaged::configureNotifyEvent(XConfigureEvent* e)
|
||||
void Unmanaged::configureNotifyEvent(xcb_configure_notify_event_t *e)
|
||||
{
|
||||
if (effects)
|
||||
static_cast<EffectsHandlerImpl*>(effects)->checkInputWindowStacking(); // keep them on top
|
||||
|
|
|
@ -53,7 +53,7 @@ protected:
|
|||
private:
|
||||
virtual ~Unmanaged(); // use release()
|
||||
// handlers for X11 events
|
||||
void configureNotifyEvent(XConfigureEvent* e);
|
||||
void configureNotifyEvent(xcb_configure_notify_event_t *e);
|
||||
};
|
||||
|
||||
} // namespace
|
||||
|
|
Loading…
Reference in a new issue