mirror of
https://github.com/brl/mutter.git
synced 2025-02-05 08:04:10 +00:00
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
@ -78,9 +78,6 @@ static const gchar *atom_names[] = {
|
|||||||
/* various flags corresponding to pre init setup calls */
|
/* various flags corresponding to pre init setup calls */
|
||||||
static gboolean clutter_enable_stereo = FALSE;
|
static gboolean clutter_enable_stereo = FALSE;
|
||||||
|
|
||||||
/* options */
|
|
||||||
static gboolean clutter_synchronise = FALSE;
|
|
||||||
|
|
||||||
/* X error trap */
|
/* X error trap */
|
||||||
static int TrappedErrorCode = 0;
|
static int TrappedErrorCode = 0;
|
||||||
static int (* old_error_handler) (Display *, XErrorEvent *);
|
static int (* old_error_handler) (Display *, XErrorEvent *);
|
||||||
@ -129,9 +126,6 @@ meta_clutter_backend_x11_finish_init (ClutterBackend *clutter_backend,
|
|||||||
cogl_xlib_filter,
|
cogl_xlib_filter,
|
||||||
clutter_backend);
|
clutter_backend);
|
||||||
|
|
||||||
if (clutter_synchronise)
|
|
||||||
XSynchronize (clutter_backend_x11->xdisplay, True);
|
|
||||||
|
|
||||||
XInternAtoms (clutter_backend_x11->xdisplay,
|
XInternAtoms (clutter_backend_x11->xdisplay,
|
||||||
(char **) atom_names, N_ATOM_NAMES,
|
(char **) atom_names, N_ATOM_NAMES,
|
||||||
False, atoms);
|
False, atoms);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user