aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoremersion <contact@emersion.fr>2018-03-14 00:01:28 +0100
committeremersion <contact@emersion.fr>2018-03-14 00:01:28 +0100
commitdd8a7a29e19f4e304e2620aa1665dd6761a1370e (patch)
tree47ec95a551ca3ad87d0a5c0946f99453b8c0c1e0
parentace738dbca9cadb9b9bc5e15aeac19131bab3998 (diff)
rootston: don't center view if maximized
-rw-r--r--rootston/desktop.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/rootston/desktop.c b/rootston/desktop.c
index b1e6f874..e9a9425c 100644
--- a/rootston/desktop.c
+++ b/rootston/desktop.c
@@ -491,7 +491,7 @@ void view_initial_focus(struct roots_view *view) {
void view_setup(struct roots_view *view) {
view_initial_focus(view);
- if (view->fullscreen_output == NULL) {
+ if (view->fullscreen_output == NULL && !view->maximized) {
view_center(view);
}