cally: Use proper backend information on CallyActor
It uses HAVE_CLUTTER_GLX to check the current backend in use for some accessibility related methods. Fixes CB#2071
This commit is contained in:
parent
d45499f88b
commit
ffd1f12560
@ -103,7 +103,7 @@
|
||||
|
||||
#include <clutter/clutter.h>
|
||||
|
||||
#ifdef HAVE_CLUTTER_X11
|
||||
#ifdef HAVE_CLUTTER_GLX
|
||||
#include <clutter/x11/clutter-x11.h>
|
||||
#endif
|
||||
|
||||
@ -917,7 +917,7 @@ _get_top_level_origin (ClutterActor *actor,
|
||||
*x = 0;
|
||||
*y = 0;
|
||||
|
||||
#ifdef HAVE_CLUTTER_X11
|
||||
#ifdef HAVE_CLUTTER_GLX
|
||||
ClutterActor *stage = NULL;
|
||||
Display *display = NULL;
|
||||
Window root_window;
|
||||
|
@ -50,10 +50,6 @@
|
||||
#include "cally-root.h"
|
||||
#include "cally-stage.h"
|
||||
|
||||
#ifdef HAVE_CLUTTER_X11
|
||||
#include <X11/extensions/XKB.h>
|
||||
#endif
|
||||
|
||||
static void cally_util_class_init (CallyUtilClass *klass);
|
||||
static void cally_util_init (CallyUtil *cally_util);
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user