rootston: don't center view if maximized

This commit is contained in:
emersion 2018-03-14 00:01:28 +01:00
parent ace738dbca
commit dd8a7a29e1
No known key found for this signature in database
GPG key ID: 0FDE7BE0E88F5E48

View file

@ -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);
}