mirror of
https://github.com/brl/mutter.git
synced 2025-06-14 17:29:31 +00:00
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
This commit is contained in:
@ -101,6 +101,8 @@ send_message_to_wl (MetaLauncher *self,
|
||||
|
||||
while (reply.header.opcode != ((struct weston_launcher_message*)message)->opcode)
|
||||
{
|
||||
guint id;
|
||||
|
||||
/* There were events queued */
|
||||
g_assert ((reply.header.opcode & WESTON_LAUNCHER_EVENT) == WESTON_LAUNCHER_EVENT);
|
||||
|
||||
@ -116,7 +118,8 @@ send_message_to_wl (MetaLauncher *self,
|
||||
switch (reply.header.opcode)
|
||||
{
|
||||
case WESTON_LAUNCHER_SERVER_REQUEST_VT_SWITCH:
|
||||
g_idle_add (request_vt_switch_idle, self);
|
||||
id = g_idle_add (request_vt_switch_idle, self);
|
||||
g_source_set_name_by_id (id, "[mutter] request_vt_switch_idle");
|
||||
break;
|
||||
|
||||
default:
|
||||
|
Reference in New Issue
Block a user