mirror of
https://github.com/brl/mutter.git
synced 2025-07-03 09:43:18 +00:00
x11: Refactor the X11 startup notification bits into src/x11
Only one little bit left in MetaDisplay, because SnStartupSequence is exposed in API there. These bits will be removed in future commits.
This commit is contained in:

committed by
Georges Basile Stavracas Neto

parent
576cd08088
commit
26fbd56a95
@ -311,11 +311,18 @@ gtk_shell_set_startup_id (struct wl_client *client,
|
||||
struct wl_resource *resource,
|
||||
const char *startup_id)
|
||||
{
|
||||
MetaStartupSequence *sequence;
|
||||
MetaDisplay *display;
|
||||
|
||||
display = meta_get_display ();
|
||||
meta_startup_notification_remove_sequence (display->startup_notification,
|
||||
startup_id);
|
||||
|
||||
sequence = meta_startup_notification_lookup_sequence (display->startup_notification,
|
||||
startup_id);
|
||||
if (sequence)
|
||||
{
|
||||
meta_startup_notification_remove_sequence (display->startup_notification,
|
||||
sequence);
|
||||
}
|
||||
}
|
||||
|
||||
static void
|
||||
|
Reference in New Issue
Block a user