mirror of
https://github.com/swaywm/sway.git
synced 2025-11-12 13:29:56 -05:00
Don't unmaximize floating views
This commit is contained in:
parent
40af5d81a1
commit
97672295ed
6 changed files with 0 additions and 40 deletions
|
|
@ -138,7 +138,6 @@ static void view_autoconfigure_floating(struct sway_view *view) {
|
|||
int ly = ws->y + (ws->height - height) / 2;
|
||||
|
||||
view->border_left = view->border_right = view->border_bottom = true;
|
||||
view_set_tiled(view, false);
|
||||
view_configure(view, lx, ly, width, height);
|
||||
}
|
||||
|
||||
|
|
@ -255,12 +254,6 @@ void view_set_activated(struct sway_view *view, bool activated) {
|
|||
}
|
||||
}
|
||||
|
||||
void view_set_tiled(struct sway_view *view, bool tiled) {
|
||||
if (view->impl->set_tiled) {
|
||||
view->impl->set_tiled(view, tiled);
|
||||
}
|
||||
}
|
||||
|
||||
// Set fullscreen, but without IPC events or arranging windows.
|
||||
void view_set_fullscreen_raw(struct sway_view *view, bool fullscreen) {
|
||||
if (view->is_fullscreen == fullscreen) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue