[gnome-flashback] monitor-config-manager: ignore orientation if it is not managed
- From: Alberts Muktupāvels <muktupavels src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-flashback] monitor-config-manager: ignore orientation if it is not managed
- Date: Sat, 23 Oct 2021 18:48:45 +0000 (UTC)
commit d702ca15a99171da1348bb178ee74e966920e723
Author: Alberts Muktupāvels <alberts muktupavels gmail com>
Date: Mon Sep 13 14:00:45 2021 +0300
monitor-config-manager: ignore orientation if it is not managed
Based on mutter commit:
https://gitlab.gnome.org/GNOME/mutter/-/commit/dbf5e38f03f5
backends/gf-monitor-config-manager.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
---
diff --git a/backends/gf-monitor-config-manager.c b/backends/gf-monitor-config-manager.c
index 981b1d4..6f23469 100644
--- a/backends/gf-monitor-config-manager.c
+++ b/backends/gf-monitor-config-manager.c
@@ -171,7 +171,8 @@ get_monitor_transform (GfMonitorManager *monitor_manager,
GfBackend *backend;
GfOrientationManager *orientation_manager;
- if (!gf_monitor_is_laptop_panel (monitor))
+ if (!gf_monitor_is_laptop_panel (monitor) ||
+ !gf_monitor_manager_get_panel_orientation_managed (monitor_manager))
return GF_MONITOR_TRANSFORM_NORMAL;
backend = gf_monitor_manager_get_backend (monitor_manager);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]