mirror of
https://github.com/swaywm/sway.git
synced 2026-02-12 04:28:25 -05:00
Merge 5b855f7168 into e3c2412565
This commit is contained in:
commit
5b59feec2a
11 changed files with 178 additions and 1 deletions
|
|
@ -124,6 +124,8 @@ sway_cmd cmd_commands;
|
|||
sway_cmd cmd_create_output;
|
||||
sway_cmd cmd_default_border;
|
||||
sway_cmd cmd_default_floating_border;
|
||||
sway_cmd cmd_default_stacking_titlebar;
|
||||
sway_cmd cmd_default_tabbed_titlebar;
|
||||
sway_cmd cmd_default_orientation;
|
||||
sway_cmd cmd_exec;
|
||||
sway_cmd cmd_exec_always;
|
||||
|
|
@ -181,10 +183,12 @@ sway_cmd cmd_split;
|
|||
sway_cmd cmd_splith;
|
||||
sway_cmd cmd_splitt;
|
||||
sway_cmd cmd_splitv;
|
||||
sway_cmd cmd_stacking_titlebar;
|
||||
sway_cmd cmd_sticky;
|
||||
sway_cmd cmd_swaybg_command;
|
||||
sway_cmd cmd_swaynag_command;
|
||||
sway_cmd cmd_swap;
|
||||
sway_cmd cmd_tabbed_titlebar;
|
||||
sway_cmd cmd_tiling_drag;
|
||||
sway_cmd cmd_tiling_drag_threshold;
|
||||
sway_cmd cmd_title_align;
|
||||
|
|
|
|||
|
|
@ -583,6 +583,9 @@ struct sway_config {
|
|||
|
||||
bool has_focused_tab_title;
|
||||
|
||||
bool stacking_titlebar_follows_border;
|
||||
bool tabbed_titlebar_follows_border;
|
||||
|
||||
// floating view
|
||||
int32_t floating_maximum_width;
|
||||
int32_t floating_maximum_height;
|
||||
|
|
|
|||
|
|
@ -60,6 +60,9 @@ struct sway_container_state {
|
|||
bool border_left;
|
||||
bool border_right;
|
||||
|
||||
bool stacking_titlebar_follows_border;
|
||||
bool tabbed_titlebar_follows_border;
|
||||
|
||||
// These are in layout coordinates.
|
||||
double content_x, content_y;
|
||||
double content_width, content_height;
|
||||
|
|
@ -222,6 +225,13 @@ void container_set_geometry_from_content(struct sway_container *con);
|
|||
*/
|
||||
bool container_is_floating(struct sway_container *container);
|
||||
|
||||
/**
|
||||
* Determine if the given container should have a titlebar.
|
||||
*
|
||||
* Uses pending container state.
|
||||
*/
|
||||
bool container_has_titlebar(struct sway_container *container);
|
||||
|
||||
/**
|
||||
* Get a container's box in layout coordinates.
|
||||
*/
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue