Fix build without tabbox
Signed-off-by: Eike Hein <eike.hein@mbition.io>
This commit is contained in:
parent
3da9e017a0
commit
7beb3f6ec6
1 changed files with 2 additions and 0 deletions
|
@ -789,10 +789,12 @@ void X11Client::updateMouseGrab()
|
|||
|
||||
xcb_ungrab_button(kwinApp()->x11Connection(), XCB_BUTTON_INDEX_ANY, m_wrapper, XCB_MOD_MASK_ANY);
|
||||
|
||||
#ifdef KWIN_BUILD_TABBOX
|
||||
if (TabBox::TabBox::self()->forcedGlobalMouseGrab()) { // see TabBox::establishTabBoxGrab()
|
||||
m_wrapper.grabButton(XCB_GRAB_MODE_SYNC, XCB_GRAB_MODE_ASYNC);
|
||||
return;
|
||||
}
|
||||
#endif
|
||||
|
||||
// When a passive grab is activated or deactivated, the X server will generate crossing
|
||||
// events as if the pointer were suddenly to warp from its current position to some position
|
||||
|
|
Loading…
Reference in a new issue