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:
parent
4c143ae9af
commit
f45083ce82
@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user