[gtk/wip/matthiasc/popup5: 151/220] wayland: Stop using surface->children
- From: Matthias Clasen <matthiasc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk/wip/matthiasc/popup5: 151/220] wayland: Stop using surface->children
- Date: Fri, 17 May 2019 03:20:40 +0000 (UTC)
commit f18397c3b84e5d116cc8a4991d5cb5b766c9bdb2
Author: Matthias Clasen <mclasen redhat com>
Date: Sat Mar 23 09:28:11 2019 -0400
wayland: Stop using surface->children
It is always NULL.
gdk/wayland/gdkdevice-wayland.c | 4 +---
1 file changed, 1 insertion(+), 3 deletions(-)
---
diff --git a/gdk/wayland/gdkdevice-wayland.c b/gdk/wayland/gdkdevice-wayland.c
index 646f37057b..36ed322d40 100644
--- a/gdk/wayland/gdkdevice-wayland.c
+++ b/gdk/wayland/gdkdevice-wayland.c
@@ -591,12 +591,10 @@ gdk_wayland_device_query_state (GdkDevice *device,
GdkModifierType *mask)
{
GdkWaylandPointerData *pointer;
- GList *children;
+ GList *children = NULL;
if (surface == NULL)
children = gdk_wayland_display_get_toplevel_surfaces (gdk_device_get_display (device));
- else
- children = surface->children;
pointer = GDK_WAYLAND_DEVICE (device)->pointer;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]