Merging from old trunk:
r608815 | lunakl | 2006-11-28 15:15:38 +0100 (Tue, 28 Nov 2006) | 4 lines Confine mouse to the screen when doing move/resize. (BUG: 88506) svn path=/trunk/KDE/kdebase/workspace/; revision=659466
This commit is contained in:
parent
2f376bbf89
commit
176f0e39ce
1 changed files with 1 additions and 1 deletions
|
@ -2263,7 +2263,7 @@ bool Client::startMoveResize()
|
|||
XMapRaised( display(), move_resize_grab_window );
|
||||
if( XGrabPointer( display(), move_resize_grab_window, False,
|
||||
ButtonPressMask | ButtonReleaseMask | PointerMotionMask | EnterWindowMask | LeaveWindowMask,
|
||||
GrabModeAsync, GrabModeAsync, None, cursor.handle(), xTime() ) == Success )
|
||||
GrabModeAsync, GrabModeAsync, move_resize_grab_window, cursor.handle(), xTime() ) == Success )
|
||||
has_grab = true;
|
||||
if( grabXKeyboard( frameId()))
|
||||
has_grab = move_resize_has_keyboard_grab = true;
|
||||
|
|
Loading…
Reference in a new issue