mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-11-14 20:51:07 +00:00
Merge branch 'grab-cursor-fix' into 'master'
window: Prevent resize cursors from sticking Closes #23 See merge request GNOME/gtk!797
This commit is contained in:
commit
f1919c706f
@ -9885,7 +9885,10 @@ update_cursor (GtkWindow *toplevel,
|
||||
/* Outside the grab widget, cursor stays to whatever the grab
|
||||
* widget says.
|
||||
*/
|
||||
cursor = gtk_widget_get_cursor (grab_widget);
|
||||
if (gtk_widget_get_surface (grab_widget) == gtk_widget_get_surface (target))
|
||||
cursor = gtk_widget_get_cursor (grab_widget);
|
||||
else
|
||||
cursor = NULL;
|
||||
}
|
||||
else
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user