In XGrabPointer, set the confine_to argument to the root window of the

2002-08-14  Jayaraj Rajappan <jayaraj.rajappan@wipro.com>

        * src/display.c (meta_display_set_grab_op_cursor):
        In XGrabPointer, set the confine_to argument to the root window
        of the screen the window is on.

        * src/display.h: add screen argument.

        * src/window.c (meta_window_update_resize_grab_op):
        pass screen argument as NULL.
This commit is contained in:
Jayaraj Rajappan
2002-08-14 16:51:13 +00:00
committed by Jayaraj Rajappan
parent b9529231b4
commit bb9cc21d8e
4 changed files with 17 additions and 2 deletions

View File

@ -6475,6 +6475,7 @@ void meta_window_update_resize_grab_op (MetaWindow *window,
if (update_cursor)
{
meta_display_set_grab_op_cursor (window->display,
NULL,
window->display->grab_op,
TRUE,
window->display->grab_xwindow,