rootston: don't center view if maximized

master
emersion 7 years ago
parent ace738dbca
commit dd8a7a29e1
No known key found for this signature in database
GPG Key ID: 0FDE7BE0E88F5E48

@ -491,7 +491,7 @@ void view_initial_focus(struct roots_view *view) {
void view_setup(struct roots_view *view) { void view_setup(struct roots_view *view) {
view_initial_focus(view); view_initial_focus(view);
if (view->fullscreen_output == NULL) { if (view->fullscreen_output == NULL && !view->maximized) {
view_center(view); view_center(view);
} }

Loading…
Cancel
Save