mirror of
https://github.com/swaywm/sway.git
synced 2024-11-23 00:11:28 +00:00
Merge branch 'master' of https://github.com/willakat/sway
This commit is contained in:
commit
704b2db050
|
@ -76,4 +76,5 @@ void swayc_log(log_importance_t verbosity, swayc_t *cont, const char* format, ..
|
|||
enum swayc_layouts default_layout(swayc_t *output);
|
||||
|
||||
bool is_auto_layout(enum swayc_layouts layout);
|
||||
|
||||
#endif
|
||||
|
|
|
@ -821,10 +821,6 @@ void update_geometry(swayc_t *container) {
|
|||
}
|
||||
}
|
||||
|
||||
bool is_auto_layout(enum swayc_layouts layout) {
|
||||
return (layout >= L_AUTO_FIRST) && (layout <= L_AUTO_LAST);
|
||||
}
|
||||
|
||||
/**
|
||||
* Layout application prototypes
|
||||
*/
|
||||
|
@ -1503,3 +1499,7 @@ enum swayc_layouts default_layout(swayc_t *output) {
|
|||
return L_VERT;
|
||||
}
|
||||
}
|
||||
|
||||
bool is_auto_layout(enum swayc_layouts layout) {
|
||||
return (layout >= L_AUTO_FIRST) && (layout <= L_AUTO_LAST);
|
||||
}
|
||||
|
|
|
@ -87,11 +87,20 @@ They are expected to be used with **bindsym** or at runtime through **swaymsg**(
|
|||
_splitv_, _toggle split_, _stacking_, _tabbed_, _auto_left_, _auto_right_,
|
||||
_auto_top, _auto_bottom_.
|
||||
|
||||
**layout** auto <next|prev>::
|
||||
Cycles between available auto layouts.
|
||||
|
||||
**layout** <incnmaster|incncol> <n>::
|
||||
Modify the number of master elements, respectively slave columns, in the
|
||||
focused container. <n> can be a positive or negative integer. These commands
|
||||
only have an effect if the focused container uses one of the "auto" layouts.
|
||||
|
||||
**layout** toggle split::
|
||||
Cycles between available split layouts.
|
||||
|
||||
**layout** promote::
|
||||
Swap the focused element with the first in the one of the auto layouts.
|
||||
|
||||
**move** <left|right|up|down|next|prev|first>::
|
||||
Moves the focused container _left_, _right_, _up_, or _down_. Moving to _prev_
|
||||
or _next_ swaps the container with its sibling in the same container. Move
|
||||
|
|
Loading…
Reference in a new issue