rootston: don't center view if maximized
This commit is contained in:
parent
ace738dbca
commit
dd8a7a29e1
|
@ -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…
Reference in New Issue