mirror of
https://github.com/brl/mutter.git
synced 2024-11-21 23:50:41 -05:00
clutter/backend/x11: Remove screen dimension fields
They were not used. Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/2002>
This commit is contained in:
parent
c6530551de
commit
c23c07716f
@ -160,8 +160,6 @@ meta_clutter_backend_x11_finish_init (ClutterBackend *clutter_backend,
|
|||||||
|
|
||||||
xscreen = DefaultScreenOfDisplay (clutter_backend_x11->xdisplay);
|
xscreen = DefaultScreenOfDisplay (clutter_backend_x11->xdisplay);
|
||||||
clutter_backend_x11->xscreen_num = XScreenNumberOfScreen (xscreen);
|
clutter_backend_x11->xscreen_num = XScreenNumberOfScreen (xscreen);
|
||||||
clutter_backend_x11->xscreen_width = WidthOfScreen (xscreen);
|
|
||||||
clutter_backend_x11->xscreen_height = HeightOfScreen (xscreen);
|
|
||||||
|
|
||||||
clutter_backend_x11->xwin_root = RootWindow (clutter_backend_x11->xdisplay,
|
clutter_backend_x11->xwin_root = RootWindow (clutter_backend_x11->xdisplay,
|
||||||
clutter_backend_x11->xscreen_num);
|
clutter_backend_x11->xscreen_num);
|
||||||
|
@ -36,8 +36,6 @@ struct _MetaClutterBackendX11
|
|||||||
Display *xdisplay;
|
Display *xdisplay;
|
||||||
|
|
||||||
int xscreen_num;
|
int xscreen_num;
|
||||||
int xscreen_width;
|
|
||||||
int xscreen_height;
|
|
||||||
|
|
||||||
Window xwin_root;
|
Window xwin_root;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user