Enable client message event handling
This commit is contained in:
parent
50113e0560
commit
eb17d9b518
1 changed files with 2 additions and 2 deletions
|
@ -337,13 +337,13 @@ bool Workspace::workspaceEvent(xcb_generic_event_t *e)
|
||||||
// fall through
|
// fall through
|
||||||
case XCB_FOCUS_OUT:
|
case XCB_FOCUS_OUT:
|
||||||
return true; // always eat these, they would tell Qt that KWin is the active app
|
return true; // always eat these, they would tell Qt that KWin is the active app
|
||||||
#if KWIN_QT5_PORTING
|
case XCB_CLIENT_MESSAGE:
|
||||||
case ClientMessage:
|
|
||||||
#ifdef KWIN_BUILD_SCREENEDGES
|
#ifdef KWIN_BUILD_SCREENEDGES
|
||||||
if (ScreenEdges::self()->isEntered(e))
|
if (ScreenEdges::self()->isEntered(e))
|
||||||
return true;
|
return true;
|
||||||
#endif
|
#endif
|
||||||
break;
|
break;
|
||||||
|
#if KWIN_QT5_PORTING
|
||||||
case Expose:
|
case Expose:
|
||||||
if (compositing()
|
if (compositing()
|
||||||
&& (e->xexpose.window == rootWindow() // root window needs repainting
|
&& (e->xexpose.window == rootWindow() // root window needs repainting
|
||||||
|
|
Loading…
Reference in a new issue