From a85bf76c9c19a8f54657b7973a4b1ec50176f395 Mon Sep 17 00:00:00 2001 From: Arnaud Ferraris Date: Fri, 23 Oct 2020 13:40:44 +0200 Subject: [PATCH 44/47] shell: honor configured rotation Resetting the default transform causes the user-configured rotation to be ignored. In cases where the transform needs to be reset, this is already done in lockscreen manager. --- src/shell.c | 4 ---- 1 file changed, 4 deletions(-) diff --git a/src/shell.c b/src/shell.c index 42893d4..19a41fb 100644 --- a/src/shell.c +++ b/src/shell.c @@ -484,10 +484,6 @@ setup_idle_cb (PhoshShell *self) phosh_session_register (PHOSH_APP_ID); - /* If we start rotated, fix this up */ - if (phosh_shell_get_transform (self) != PHOSH_MONITOR_TRANSFORM_NORMAL) - phosh_shell_set_transform (self, PHOSH_MONITOR_TRANSFORM_NORMAL); - priv->startup_finished = TRUE; return FALSE; -- 2.28.0