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:
Jonas Ådahl 2021-09-15 12:15:37 +02:00 committed by Marge Bot
parent c6530551de
commit c23c07716f
2 changed files with 0 additions and 4 deletions

View File

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

View File

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