57 Commits (88c17ece3b2617762c3f5f1c1fa79fe8f4df0082)

Author SHA1 Message Date
Kenny Levinsen a047b5ee4a container: Move pending state to state struct
4 years ago
Daniel De Graaf 1be66c98f2 commands/resize: don't consider 1px resizes to be invalid
4 years ago
Nils Schulte 6898d1963f moved and renamed movement-unit parsing to common
4 years ago
Pedro Côrte-Real 8008344762 Avoid numerical instability in resize
5 years ago
Pedro Côrte-Real cefc608cb9 Fix resize sibling amount calculations
5 years ago
Pedro Côrte-Real 44c2fafa4f Sanity check gaps between tiled containers
5 years ago
Pedro Côrte-Real e3a3917d3a Layout tiled using a width/height fraction
5 years ago
Brian Ashworth 430359519c floating_maximum_size: change default behavior
6 years ago
Ryan Dwyer 6b8bf10941 Introduce container_is_scratchpad_hidden
6 years ago
M Stoeckl 0af5b26e41 Fix dead stores found by scan-build
6 years ago
M Stoeckl 1211a81aad Replace wlr_log with sway_log
6 years ago
Brian Ashworth 81e595e6e8 cmd_resize: allow resizing hidden scratchpad by px
6 years ago
Brian Ashworth 3087942c35 Handle hidden scratchpad containers in commands
6 years ago
Ryan Dwyer 289130430f Fix invalid pointers when using resize grow width on first/last siblings
6 years ago
Ryan Dwyer 2024f1da72 Resize only current and immediate siblings rather than all siblings
6 years ago
M Stoeckl 2a684cad5f Remove now-unused "input" argument of cmd_results_new
6 years ago
Ryan Dwyer b322432eff Use uint32_t where resize axis might contain a bitfield
6 years ago
Ryan Dwyer 22ac1c121a Replace resize_axis with wlr_edges
6 years ago
Konstantin Pospelov f9bde0030d resize set: add assertion for an invalid unit
6 years ago
Konstantin Pospelov a7b9e63cbc resize set: fix units for floating containers
6 years ago
Drew DeVault eda3bfeed5
Merge pull request #3142 from RyanDwyer/move-view-properties
6 years ago
Ryan Dwyer be9348d25c Move view {x,y,width,height} into container struct
6 years ago
Cole Mickens fb6ef83b16 commands/resize: fix grow vars uninitialized
6 years ago
Trevor Slocum f4ccc51da0 resize set: convert ppt to px for floating containers
6 years ago
Brian Ashworth c248e96b84 resize set: implement width and height keywords
6 years ago
Ryan Dwyer 885963f11f Deny several commands when there's no outputs connected
6 years ago
Ryan Dwyer 662466e8db Fix crash when resizing container hidden in the scratchpad
6 years ago
Ryan Dwyer 61699a1146 resize: Determine if anything changed using before/after check
6 years ago
Ryan Dwyer 42f1fdf015 Return an error when resizing is a no op
6 years ago
Ryan Dwyer 7586f150c0 Implement type safe arguments and demote sway_container
6 years ago
Ryan Dwyer 5dbbab7bdc Remove layout.c
6 years ago
Ryan Dwyer f129b1b89f Replace enum resize_edge with wlr_edges
6 years ago
Ryan Dwyer b4a0363d17 Implement resizing tiled containers via cursor
6 years ago
Ryan Dwyer 6c730a2cb2 Implement resize set <width> <height> for tiled containers
6 years ago
Ryan Dwyer 9395d3c93c Implement resize grow|shrink <direction> <amount> for tiled containers
6 years ago
Ryan Dwyer 2032f85d94 Simplify transactions by utilising a dirty flag on containers
6 years ago
Ryan Dwyer 0584ecec0a Force min/max size when resizing floating containers
6 years ago
Ryan Dwyer 5940682f40 Implement resize grow|shrink <direction> <amount> or <amount>
6 years ago
Ryan Dwyer 558ca9fc28 Implement resize command for floating views
6 years ago
emersion 63b4bf5000
Update for swaywm/wlroots#1126
6 years ago
Ryan Dwyer bb66e6d578 Refactor everything that needs to arrange windows
7 years ago
emersion 29224e7aec
Fix segfault when running the resize command without arguments
7 years ago
Ryan Dwyer 167c2e1aa9 Refactor arrange_windows()
7 years ago
Drew DeVault 640232eb22
Revert "Break everything^W^WUse wlr_box for sway_container"
7 years ago
Drew DeVault 764489e737 Break everything^W^WUse wlr_box for sway_container
7 years ago
Drew DeVault f77986338f Implement resize command
7 years ago
Drew DeVault 733993a651 Move everything to sway/old/
7 years ago
Calvin Lee 069d37f987 Improve criteria handling
8 years ago
Drew DeVault 9aed9d9359 UnGNUify the codebase
8 years ago
wil 3c84250be8 [fix] resize should now preserve surrounding container's dimensions
8 years ago