mirror of
https://github.com/swaywm/sway.git
synced 2025-11-16 06:59:49 -05:00
Rename set_maximized functions to set_tiled
This commit is contained in:
parent
5d69a56209
commit
02de2a6f65
6 changed files with 16 additions and 16 deletions
|
|
@ -139,7 +139,7 @@ static void view_autoconfigure_floating(struct sway_view *view) {
|
|||
int ly = output->y + (ws->height - height) / 2;
|
||||
|
||||
view->border_left = view->border_right = view->border_bottom = true;
|
||||
view_set_maximized(view, false);
|
||||
view_set_tiled(view, false);
|
||||
view_configure(view, lx, ly, width, height);
|
||||
}
|
||||
|
||||
|
|
@ -257,9 +257,9 @@ void view_set_activated(struct sway_view *view, bool activated) {
|
|||
}
|
||||
}
|
||||
|
||||
void view_set_maximized(struct sway_view *view, bool maximized) {
|
||||
if (view->impl->set_maximized) {
|
||||
view->impl->set_maximized(view, maximized);
|
||||
void view_set_tiled(struct sway_view *view, bool tiled) {
|
||||
if (view->impl->set_tiled) {
|
||||
view->impl->set_tiled(view, tiled);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue