diff options
author | Christian Hergert <chergert@redhat.com> | 2020-05-19 12:00:32 -0700 |
---|---|---|
committer | Christian Hergert <chergert@redhat.com> | 2020-05-19 13:07:38 -0700 |
commit | fa08d848ca0d84d7c372cc20427a3686d93286af (patch) | |
tree | 36d32d92dacc3292004b3049eee90bd3dda6f334 /gdk/broadway | |
parent | 841e9b3f0e4903f0c28022a9d67dc0f2290dbac3 (diff) | |
download | gtk+-fa08d848ca0d84d7c372cc20427a3686d93286af.tar.gz |
device: remove get_toplevel from surface_at_position vfunc
This is not used anymore now that surfaces are always toplevel in the
semantics of GdkWindow where child windows were available. We can drop
that and simplify the vfunc just a bit more.
Fixes #2765
Diffstat (limited to 'gdk/broadway')
-rw-r--r-- | gdk/broadway/gdkdevice-broadway.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/gdk/broadway/gdkdevice-broadway.c b/gdk/broadway/gdkdevice-broadway.c index 837b48b4f0..a936d36d36 100644 --- a/gdk/broadway/gdkdevice-broadway.c +++ b/gdk/broadway/gdkdevice-broadway.c @@ -54,8 +54,7 @@ static void gdk_broadway_device_ungrab (GdkDevice *device, static GdkSurface * gdk_broadway_device_surface_at_position (GdkDevice *device, gdouble *win_x, gdouble *win_y, - GdkModifierType *mask, - gboolean get_toplevel); + GdkModifierType *mask); G_DEFINE_TYPE (GdkBroadwayDevice, gdk_broadway_device, GDK_TYPE_DEVICE) @@ -292,8 +291,7 @@ static GdkSurface * gdk_broadway_device_surface_at_position (GdkDevice *device, gdouble *win_x, gdouble *win_y, - GdkModifierType *mask, - gboolean get_toplevel) + GdkModifierType *mask) { GdkSurface *surface = NULL; |