x11/clutter-backend: Remove unused XSynchronize() call
Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/2444>
This commit is contained in:
parent
fdde7e0f37
commit
3776f9df8c
1 changed files with 0 additions and 6 deletions
|
@ -78,9 +78,6 @@ static const gchar *atom_names[] = {
|
|||
/* various flags corresponding to pre init setup calls */
|
||||
static gboolean clutter_enable_stereo = FALSE;
|
||||
|
||||
/* options */
|
||||
static gboolean clutter_synchronise = FALSE;
|
||||
|
||||
/* X error trap */
|
||||
static int TrappedErrorCode = 0;
|
||||
static int (* old_error_handler) (Display *, XErrorEvent *);
|
||||
|
@ -129,9 +126,6 @@ meta_clutter_backend_x11_finish_init (ClutterBackend *clutter_backend,
|
|||
cogl_xlib_filter,
|
||||
clutter_backend);
|
||||
|
||||
if (clutter_synchronise)
|
||||
XSynchronize (clutter_backend_x11->xdisplay, True);
|
||||
|
||||
XInternAtoms (clutter_backend_x11->xdisplay,
|
||||
(char **) atom_names, N_ATOM_NAMES,
|
||||
False, atoms);
|
||||
|
|
Loading…
Reference in a new issue