|
|
|
@ -2730,18 +2730,11 @@ void Client::leaveMoveResize() |
|
|
|
move_resize_has_keyboard_grab = false; |
|
|
|
move_resize_has_keyboard_grab = false; |
|
|
|
xcb_ungrab_pointer(connection(), xTime()); |
|
|
|
xcb_ungrab_pointer(connection(), xTime()); |
|
|
|
m_moveResizeGrabWindow.reset(); |
|
|
|
m_moveResizeGrabWindow.reset(); |
|
|
|
workspace()->setClientIsMoving(0); |
|
|
|
|
|
|
|
setMoveResize(false); |
|
|
|
|
|
|
|
if (syncRequest.counter == XCB_NONE) // don't forget to sanitize since the timeout will no more fire
|
|
|
|
if (syncRequest.counter == XCB_NONE) // don't forget to sanitize since the timeout will no more fire
|
|
|
|
syncRequest.isPending = false; |
|
|
|
syncRequest.isPending = false; |
|
|
|
delete syncRequest.timeout; |
|
|
|
delete syncRequest.timeout; |
|
|
|
syncRequest.timeout = NULL; |
|
|
|
syncRequest.timeout = NULL; |
|
|
|
if (ScreenEdges::self()->isDesktopSwitchingMovingClients()) |
|
|
|
AbstractClient::leaveMoveResize(); |
|
|
|
ScreenEdges::self()->reserveDesktopSwitching(false, Qt::Vertical|Qt::Horizontal); |
|
|
|
|
|
|
|
if (isElectricBorderMaximizing()) { |
|
|
|
|
|
|
|
outline()->hide(); |
|
|
|
|
|
|
|
elevate(false); |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
// This function checks if it actually makes sense to perform a restricted move/resize.
|
|
|
|
// This function checks if it actually makes sense to perform a restricted move/resize.
|
|
|
|
|