1
0
Fork 0

x11/clutter-backend: Remove unused XSynchronize() call

Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/2444>
This commit is contained in:
Jonas Ådahl 2022-05-30 21:29:41 +02:00 committed by Marge Bot
parent fdde7e0f37
commit 3776f9df8c

View file

@ -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);