[kwin] updateXTime before establishing grab for move resize mode
Grabbing the pointer failed causing unrestricted move resize to operate incorrectly (position didn't update).
This commit is contained in:
parent
d5104cd4b5
commit
0056302652
1 changed files with 1 additions and 0 deletions
|
@ -2561,6 +2561,7 @@ bool Client::startMoveResize()
|
|||
m_moveResizeGrabWindow.create(r, XCB_WINDOW_CLASS_INPUT_ONLY, 0, NULL, rootWindow());
|
||||
m_moveResizeGrabWindow.map();
|
||||
m_moveResizeGrabWindow.raise();
|
||||
updateXTime();
|
||||
const xcb_grab_pointer_cookie_t cookie = xcb_grab_pointer_unchecked(connection(), false, m_moveResizeGrabWindow,
|
||||
XCB_EVENT_MASK_BUTTON_PRESS | XCB_EVENT_MASK_BUTTON_RELEASE | XCB_EVENT_MASK_POINTER_MOTION |
|
||||
XCB_EVENT_MASK_ENTER_WINDOW | XCB_EVENT_MASK_LEAVE_WINDOW,
|
||||
|
|
Loading…
Reference in a new issue