mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-12-26 21:51:08 +00:00
gdk/surface: Reset position after hiding
The x and y position of GdkSurface is only valid when visible, so reset them to their inital state after hiding.
This commit is contained in:
parent
46d40cd4bd
commit
37f4c644d3
@ -2083,6 +2083,9 @@ G_GNUC_END_IGNORE_DEPRECATIONS
|
||||
}
|
||||
|
||||
GDK_SURFACE_GET_CLASS (surface)->hide (surface);
|
||||
|
||||
surface->x = 0;
|
||||
surface->y = 0;
|
||||
}
|
||||
|
||||
/**
|
||||
|
Loading…
Reference in New Issue
Block a user