Start populating MetaX11Display
- Moved xdisplay, name and various atoms from MetaDisplay - Moved xroot, screen_name, default_depth and default_xvisual from MetaScreen - Moved some X11 specific functions from screen.c and display.c to meta-x11-display.c https://bugzilla.gnome.org/show_bug.cgi?id=759538
This commit is contained in:

committed by
Jonas Ådahl

parent
522f9b4c38
commit
18779109de
@ -30,6 +30,7 @@
|
||||
#include "wayland/meta-wayland.h"
|
||||
#include "window-private.h"
|
||||
#include "tests/test-utils.h"
|
||||
#include "x11/meta-x11-display-private.h"
|
||||
|
||||
typedef struct {
|
||||
GHashTable *clients;
|
||||
@ -301,8 +302,8 @@ test_case_check_xserver_stacking (TestCase *test,
|
||||
Window parent;
|
||||
Window *children;
|
||||
unsigned int n_children;
|
||||
XQueryTree (display->xdisplay,
|
||||
meta_screen_get_xroot (display->screen),
|
||||
XQueryTree (display->x11_display->xdisplay,
|
||||
display->x11_display->xroot,
|
||||
&root, &parent, &children, &n_children);
|
||||
|
||||
for (i = 0; i < (int)n_children; i++)
|
||||
|
Reference in New Issue
Block a user