mirror of
https://github.com/swaywm/sway.git
synced 2025-11-11 13:29:51 -05:00
Revert "Break everything^W^WUse wlr_box for sway_container"
This commit is contained in:
parent
656ef558a2
commit
640232eb22
13 changed files with 145 additions and 144 deletions
|
|
@ -68,10 +68,12 @@ struct sway_container {
|
|||
enum sway_container_layout prev_layout;
|
||||
enum sway_container_layout workspace_layout;
|
||||
|
||||
// For C_ROOT, this is the extents of the whole layout box.
|
||||
// For C_OUTPUT, this is the output position in layout coordinates.
|
||||
// For other types, this is the position in output-local coordinates.
|
||||
struct wlr_box box;
|
||||
// For C_ROOT, this has no meaning
|
||||
// For C_OUTPUT, this is the output position in layout coordinates
|
||||
// For other types, this is the position in output-local coordinates
|
||||
double x, y;
|
||||
// does not include borders or gaps.
|
||||
double width, height;
|
||||
|
||||
list_t *children;
|
||||
|
||||
|
|
|
|||
|
|
@ -61,7 +61,8 @@ enum sway_container_layout container_get_default_layout(
|
|||
|
||||
void container_sort_workspaces(struct sway_container *output);
|
||||
|
||||
void arrange_windows(struct sway_container *container, int width, int height);
|
||||
void arrange_windows(struct sway_container *container,
|
||||
double width, double height);
|
||||
|
||||
struct sway_container *container_get_in_direction(struct sway_container
|
||||
*container, struct sway_seat *seat, enum movement_direction dir);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue