mirror of
https://github.com/hyprwm/wlroots-hyprland.git
synced 2024-11-07 14:06:00 +01:00
rootston: don't center view if maximized
This commit is contained in:
parent
ace738dbca
commit
dd8a7a29e1
1 changed files with 1 additions and 1 deletions
|
@ -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 a new issue