summaryrefslogtreecommitdiff
path: root/src/wayland/meta-xwayland.c
diff options
context:
space:
mode:
authorBastien Nocera <hadess@hadess.net>2014-04-10 18:58:58 +0200
committerBastien Nocera <hadess@hadess.net>2014-04-10 18:59:46 +0200
commitd53e04f4c8d366ecfb107721231555abf74b4fee (patch)
treed5db992d401f88e14a525533e54e353b5969d787 /src/wayland/meta-xwayland.c
parentb37223b9bbe5015e3638f21bc87f2c981f03c8a9 (diff)
downloadmutter-d53e04f4c8d366ecfb107721231555abf74b4fee.tar.gz
Name all timeouts and idles
Better names can be used once we make more use of them. https://bugzilla.gnome.org/show_bug.cgi?id=727979
Diffstat (limited to 'src/wayland/meta-xwayland.c')
-rw-r--r--src/wayland/meta-xwayland.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/wayland/meta-xwayland.c b/src/wayland/meta-xwayland.c
index a4ec03f6e..856213cfe 100644
--- a/src/wayland/meta-xwayland.c
+++ b/src/wayland/meta-xwayland.c
@@ -114,6 +114,8 @@ meta_xwayland_handle_wl_surface_id (MetaWindow *window,
if (!associate_window_with_surface_id (manager, window, surface_id))
{
+ guint id;
+
/* No surface ID yet... it should arrive after the next
* iteration through the loop, so queue an idle and see
* what happens.
@@ -122,7 +124,8 @@ meta_xwayland_handle_wl_surface_id (MetaWindow *window,
op->manager = manager;
op->window = window;
op->surface_id = surface_id;
- g_idle_add (associate_window_with_surface_idle, op);
+ id = g_idle_add (associate_window_with_surface_idle, op);
+ g_source_set_name_by_id (id, "[mutter] associate_window_with_surface_idle");
}
}