mirror of
https://github.com/brl/mutter.git
synced 2025-07-23 10:01:35 +00:00
context: Move 'replace-current-wm' tracking to the context
This move yet another scattered global static variable into the context's control. Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/1861>
This commit is contained in:
@ -80,7 +80,6 @@ meta_topic_real_valist (MetaDebugTopic topic,
|
||||
#endif
|
||||
|
||||
static gint verbose_topics = 0;
|
||||
static gboolean replace_current = FALSE;
|
||||
static int no_prefix = 0;
|
||||
static gboolean is_wayland_compositor = FALSE;
|
||||
static int debug_paint_flags = 0;
|
||||
@ -218,18 +217,6 @@ meta_init_debug_utils (void)
|
||||
}
|
||||
}
|
||||
|
||||
gboolean
|
||||
meta_get_replace_current_wm (void)
|
||||
{
|
||||
return replace_current;
|
||||
}
|
||||
|
||||
void
|
||||
meta_set_replace_current_wm (gboolean setting)
|
||||
{
|
||||
replace_current = setting;
|
||||
}
|
||||
|
||||
gboolean
|
||||
meta_is_wayland_compositor (void)
|
||||
{
|
||||
|
Reference in New Issue
Block a user