mirror of
https://github.com/brl/mutter.git
synced 2024-12-23 11:32:04 +00:00
initialize display->grab_have_pointer to FALSE, previously I think you
2003-10-11 Havoc Pennington <hp@pobox.com> * src/display.c (meta_display_begin_grab_op): initialize display->grab_have_pointer to FALSE, previously I think you could get a case where we didn't have the grab and thought we did. Bugs were reported with this happening. Of course we still have the "why did the grab fail" problem, but it should be less noticeable with this fixed.
This commit is contained in:
parent
d76d953d69
commit
6628acb59c
@ -1,3 +1,12 @@
|
||||
2003-10-11 Havoc Pennington <hp@pobox.com>
|
||||
|
||||
* src/display.c (meta_display_begin_grab_op): initialize
|
||||
display->grab_have_pointer to FALSE, previously I think you could
|
||||
get a case where we didn't have the grab and thought we did.
|
||||
Bugs were reported with this happening. Of course we still have
|
||||
the "why did the grab fail" problem, but it should be less
|
||||
noticeable with this fixed.
|
||||
|
||||
2003-10-06 Rob Adams <readams@readams.net>
|
||||
|
||||
* src/constraints.c (constraint_onscreen_*_func): disable onscreen
|
||||
|
@ -2818,6 +2818,8 @@ meta_display_begin_grab_op (MetaDisplay *display,
|
||||
grab_xwindow = window->frame ? window->frame->xwindow : window->xwindow;
|
||||
else
|
||||
grab_xwindow = screen->xroot;
|
||||
|
||||
display->grab_have_pointer = FALSE;
|
||||
|
||||
if (pointer_already_grabbed)
|
||||
display->grab_have_pointer = TRUE;
|
||||
|
Loading…
Reference in New Issue
Block a user