Guard Workspace::raiseWindowRequest() with a KWIN_BUILD_X11 ifdef
raiseWindowRequest() is an X11 specific detail.
This commit is contained in:
parent
ef9d3a1cd0
commit
4a14644885
2 changed files with 2 additions and 2 deletions
|
@ -415,6 +415,7 @@ void Workspace::raiseWindowWithinApplication(Window *window)
|
|||
}
|
||||
}
|
||||
|
||||
#if KWIN_BUILD_X11
|
||||
void Workspace::raiseWindowRequest(Window *window, NET::RequestSource src, xcb_timestamp_t timestamp)
|
||||
{
|
||||
if (src == NET::FromTool || allowFullClientRaising(window, timestamp)) {
|
||||
|
@ -425,7 +426,6 @@ void Workspace::raiseWindowRequest(Window *window, NET::RequestSource src, xcb_t
|
|||
}
|
||||
}
|
||||
|
||||
#if KWIN_BUILD_X11
|
||||
void Workspace::lowerWindowRequest(X11Window *window, NET::RequestSource src, xcb_timestamp_t /*timestamp*/)
|
||||
{
|
||||
// If the window has support for all this focus stealing prevention stuff,
|
||||
|
|
|
@ -228,8 +228,8 @@ public:
|
|||
QRectF adjustWindowSize(const Window *window, QRectF moveResizeGeom, Gravity gravity) const;
|
||||
void raiseWindow(Window *window, bool nogroup = false);
|
||||
void lowerWindow(Window *window, bool nogroup = false);
|
||||
void raiseWindowRequest(Window *window, NET::RequestSource src = NET::FromApplication, uint32_t timestamp = 0);
|
||||
#if KWIN_BUILD_X11
|
||||
void raiseWindowRequest(Window *window, NET::RequestSource src = NET::FromApplication, uint32_t timestamp = 0);
|
||||
void lowerWindowRequest(X11Window *window, NET::RequestSource src, xcb_timestamp_t timestamp);
|
||||
void restoreSessionStackingOrder(X11Window *window);
|
||||
#endif
|
||||
|
|
Loading…
Reference in a new issue