Added phosh
This commit is contained in:
18
gui-wm/phosh/files/0004-wlroots-0.10-rotation.patch
Normal file
18
gui-wm/phosh/files/0004-wlroots-0.10-rotation.patch
Normal file
@@ -0,0 +1,18 @@
|
||||
diff --git a/src/rotation-manager.c b/src/rotation-manager.c
|
||||
index 9fa8abd..a627935 100644
|
||||
--- a/src/rotation-manager.c
|
||||
+++ b/src/rotation-manager.c
|
||||
@@ -110,11 +110,11 @@ match_orientation (PhoshRotationManager *self)
|
||||
if (!g_strcmp0 ("normal", orient)) {
|
||||
transform = PHOSH_MONITOR_TRANSFORM_NORMAL;
|
||||
} else if (!g_strcmp0 ("right-up", orient)) {
|
||||
- transform = PHOSH_MONITOR_TRANSFORM_270;
|
||||
+ transform = PHOSH_MONITOR_TRANSFORM_90;
|
||||
} else if (!g_strcmp0 ("bottom-up", orient)) {
|
||||
transform = PHOSH_MONITOR_TRANSFORM_180;
|
||||
} else if (!g_strcmp0 ("left-up", orient)) {
|
||||
- transform = PHOSH_MONITOR_TRANSFORM_90;
|
||||
+ transform = PHOSH_MONITOR_TRANSFORM_270;
|
||||
} else if (!g_strcmp0 ("undefined", orient)) {
|
||||
return; /* just leave as is */
|
||||
} else {
|
||||
Reference in New Issue
Block a user