Port last UngrabPointer to XCB

This commit is contained in:
Martin Gräßlin 2013-09-10 11:34:34 +02:00
parent 1121b2abb0
commit 4576a0b6db

View file

@ -2659,7 +2659,7 @@ void Client::leaveMoveResize()
if (move_resize_has_keyboard_grab)
ungrabXKeyboard();
move_resize_has_keyboard_grab = false;
XUngrabPointer(display(), xTime());
xcb_ungrab_pointer(connection(), xTime());
m_moveResizeGrabWindow.reset();
workspace()->setClientIsMoving(0);
moveResizeMode = false;