[mutter] clutter/backend/x11: Remove screen dimension fields
- From: Marge Bot <marge-bot src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [mutter] clutter/backend/x11: Remove screen dimension fields
- Date: Mon, 18 Oct 2021 15:06:33 +0000 (UTC)
commit c23c07716f5c960f3d21bba4baaf69c252a3e25d
Author: Jonas Ã…dahl <jadahl gmail com>
Date: Wed Sep 15 12:15:37 2021 +0200
clutter/backend/x11: Remove screen dimension fields
They were not used.
Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/2002>
src/backends/x11/meta-clutter-backend-x11.c | 2 --
src/backends/x11/meta-clutter-backend-x11.h | 2 --
2 files changed, 4 deletions(-)
---
diff --git a/src/backends/x11/meta-clutter-backend-x11.c b/src/backends/x11/meta-clutter-backend-x11.c
index fcf267f11b..f4bcdf7b4d 100644
--- a/src/backends/x11/meta-clutter-backend-x11.c
+++ b/src/backends/x11/meta-clutter-backend-x11.c
@@ -160,8 +160,6 @@ meta_clutter_backend_x11_finish_init (ClutterBackend *clutter_backend,
xscreen = DefaultScreenOfDisplay (clutter_backend_x11->xdisplay);
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->xscreen_num);
diff --git a/src/backends/x11/meta-clutter-backend-x11.h b/src/backends/x11/meta-clutter-backend-x11.h
index 03e6e44d02..45a2e73169 100644
--- a/src/backends/x11/meta-clutter-backend-x11.h
+++ b/src/backends/x11/meta-clutter-backend-x11.h
@@ -36,8 +36,6 @@ struct _MetaClutterBackendX11
Display *xdisplay;
int xscreen_num;
- int xscreen_width;
- int xscreen_height;
Window xwin_root;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]