forked from AuroraMiddleware/gtk
Merge branch 'wip/carlosg/cursor-fallout' into 'master'
gdk: Fix toplevel calculation on pointer grab switch Closes #2970 See merge request GNOME/gtk!2330
This commit is contained in:
commit
0d3fa01be2
@ -639,8 +639,7 @@ switch_to_pointer_grab (GdkDisplay *display,
|
||||
if (grab == NULL /* ungrab */ ||
|
||||
(!last_grab->owner_events && grab->owner_events) /* switched to owner_events */ )
|
||||
{
|
||||
if (grab)
|
||||
new_toplevel = get_current_toplevel (display, device, &x, &y, &state);
|
||||
new_toplevel = get_current_toplevel (display, device, &x, &y, &state);
|
||||
|
||||
if (new_toplevel)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user