mirror of
https://github.com/brl/mutter.git
synced 2025-06-14 01:09:30 +00:00
Fix crash with --sync option
If the display hasn't been initialized yet, just change the start variable and don't update the display. https://bugzilla.gnome.org/show_bug.cgi?id=618613
This commit is contained in:
@ -4169,8 +4169,8 @@ meta_set_syncing (gboolean setting)
|
||||
if (setting != is_syncing)
|
||||
{
|
||||
is_syncing = setting;
|
||||
|
||||
XSynchronize (meta_get_display ()->xdisplay, is_syncing);
|
||||
if (meta_get_display ())
|
||||
XSynchronize (meta_get_display ()->xdisplay, is_syncing);
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user