137 Commits (8b4b65d66552d782d2c38a17756baf928b90e670)

Author SHA1 Message Date
Ryan Dwyer 415a48ac63 Make gaps implementation consistent with i3-gaps
6 years ago
Ryan Dwyer 56e9f31b2f Check for NULL output in workspace_valid_on_output
6 years ago
Ryan Dwyer 138d10d5d6 Rename workspace_outputs to workspace_configs and fix memory leak
6 years ago
Ryan Dwyer 64445f4214 Prevent sticky containers from jumping on workspace switch
6 years ago
Ian Fan d101f3d357 commands: remove obselete code for sticky windows when switching workspace
6 years ago
Ryan Dwyer df95c61044 Fix crash in workspace_wrap_children
6 years ago
Ryan Dwyer 8bb40c24c7 Implement tiling drag
6 years ago
William Wold e787a1581c Give windows pointer focus immediately when they are switched to
6 years ago
Ryan Dwyer 908095ef9a Introduce seat_set_focus_container and seat_set_focus_workspace
6 years ago
Ryan Dwyer acc2628c79 Don't use wlr_output properties
6 years ago
Ryan Dwyer 7586f150c0 Implement type safe arguments and demote sway_container
6 years ago
sghctoma 073dcb3a86 Change _XOPEN_SOURCE defines to _POSIX_C_SOURCE
6 years ago
sghctoma cc16948c85 Fix feature macros for FreeBSD
6 years ago
Ryan Dwyer 126a82f14f Fix gaps issues
6 years ago
Ryan Dwyer 8bed4be1f3 Make separate gaps functions per container type
6 years ago
Ryan Dwyer b6058703fa Refactor destroy functions and save workspaces when there's no outputs
6 years ago
minus 471533be0a Improve new workspace name selection
6 years ago
Ryan Dwyer 2b5a404ac9 Replace hacky L_FLOATING container with a list
6 years ago
Ian Fan e81cc8a575 commands: saner workspace number handling
6 years ago
Ryan Dwyer d6cd79c342 Implement iterators per container type
6 years ago
Ryan Dwyer 16c663ed49 Rename container_sort_workspaces and container_wrap_children
6 years ago
Donnie West a9433cbded
When the workspace is focused, return it instead of checking parent
6 years ago
Ryan Dwyer 701fcafc70 Use list_find in more places and refactor/fix workspace prev_next functions
6 years ago
minus 18e425eda6 Use assigned workspace name for output
6 years ago
Ryan Dwyer 5653fc754b Deny moving a sticky container to workspace if it's the same output
6 years ago
Ryan Dwyer 50f3a7ff5c Fix infinite loop when focusing sticky containers via workspace command
6 years ago
Ian Fan 667b8dcb67 commands: check for special workspaces in workspace & move commands
6 years ago
Ian Fan 85ae121caa commands: complete workspace implementation
6 years ago
Ian Fan 356063b6c0 commands: fix layout implementation (also better name for previous split layout)
6 years ago
Ryan Dwyer 30e7e0f7c7 Move workspace pid code to root.c
6 years ago
Brian Ashworth ad2a7c2618 Check correct ws for sticky and fix floating iter
6 years ago
Mihai Coman d37c94d1b6 Preserve workspace name
6 years ago
Drew DeVault 817d37c950
Merge pull request #2165 from swaywm/pid-workspaces
6 years ago
Drew DeVault c80258c3b3 Address @emersion's review comments
6 years ago
frsfnrrg ab0efebc3e Also extract first workspace name from bindcodes
6 years ago
Drew DeVault f4b882475e Merge branch 'master' into pid-workspaces
6 years ago
Ryan Dwyer af5f736277 Render containers as urgent if they have an urgent child
6 years ago
Ryan Dwyer be28c18ad5 Mark containers as urgent in IPC if they have urgent views
6 years ago
Ryan Dwyer 5f0a4bb6a4 Update workspace urgent state when views close or move workspaces
6 years ago
Ryan Dwyer 315d5311b2 Implement urgency base functionality
6 years ago
Ryan Dwyer 2032f85d94 Simplify transactions by utilising a dirty flag on containers
6 years ago
emersion 63b4bf5000
Update for swaywm/wlroots#1126
6 years ago
Dominique Martinet 9314c45c41 workspace_next_name: free targets later than these already found in order
6 years ago
Dominique Martinet c78ab67877 workspace_next_name: fix string length for ws_num >= 100
6 years ago
Dominique Martinet 9c9ee3e4ef find prev/next output/workspace: add NULL check
6 years ago
Drew DeVault acd79e1505 Implement pid->workspace tracking
6 years ago
Ryan Dwyer 38398e2d77 Implement atomic layout updates for tree operations
7 years ago
Ryan Dwyer bb66e6d578 Refactor everything that needs to arrange windows
7 years ago
Ryan Dwyer f9e6d703d2 Make main properties be the pending state
7 years ago
Ryan Dwyer 59c9488701 WIP: Atomic layout updates ground work
7 years ago
Brian Ashworth 5c9a917df9 Restore workspaces to outputs based on priority
7 years ago
Brian Ashworth 067fe9d047 Support runtime var expansion and set at runtime
7 years ago
Ryan Dwyer dc83b158e1 Fix issues with sticky containers and workspaces
7 years ago
Ryan Dwyer 34f35f0bad Use L_FLOATING instead of reapable boolean
7 years ago
Ryan Dwyer 1f2e399ade Implement floating
7 years ago
Drew DeVault f3ab895916 Implement `floating enable`
7 years ago
Ryan Dwyer 167c2e1aa9 Refactor arrange_windows()
7 years ago
Ryan Dwyer ae39d7b28c Remove sway_container.workspace_layout
7 years ago
Ryan Dwyer c685ef081f Create sway_workspace struct.
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
Tony Crisci 741e3959e3 Merge branch 'wlroots' into split-containers2
7 years ago
Tony Crisci a001890fb8 move workspace create to workspace.c
7 years ago
Drew DeVault 1a5785b0c3
Merge pull request #1712 from RedSoxFan/workspace-number-names
7 years ago
Brian Ashworth 1e549230db Fix name generation for workspace number <name>
7 years ago
Tony Crisci 5f4761c4f4 unify workspace create functions
7 years ago
Tony Crisci b4c5f79725 move view and workspace destructors to container.c
7 years ago
Tony Crisci 5e024278a6 Merge branch 'wlroots' into seat-fixes
7 years ago
Tony Crisci e677c5b204 rename seat functions
7 years ago
Brian Ashworth c901510e01 Fixes back-and-forth name saving for non-empty ws
7 years ago
Drew DeVault 49379dd0fc Fix workspace deletion edge cases
7 years ago
Drew DeVault e62cc0ac26 Finish porting over workspace_next_name
7 years ago
Tony Crisci dc8c9fbeb6 Revert "Merge pull request #1653 from swaywm/revert-1647-refactor-tree"
7 years ago
Drew DeVault d0c7f66e95
Revert "Refactor tree"
7 years ago
Tony Crisci 2778edef97 arrange windows
7 years ago
Tony Crisci 4ec8bf4cee 80col
7 years ago
Tony Crisci eca029f218 more renaming things
7 years ago
Tony Crisci b90099b4b7 rename container functions
7 years ago
Tony Crisci 874f009866 move tree includes to their own directory
7 years ago
Tony Crisci 93084c9cf8 remove old focus member
7 years ago
Tony Crisci a7d49da239 separate seat get focus and seat get focus inactive
7 years ago
Tony Crisci 5151502298 basic focus overhaul
7 years ago
Drew DeVault b28602aa74 Implement workspaces
7 years ago
Dominique Martinet 67985e9031 sway: change all sway_log to wlr_log
7 years ago
Drew DeVault aeda2e077f Add workspace to outputs
7 years ago
Drew DeVault 733993a651 Move everything to sway/old/
7 years ago
Drew DeVault 0ba6554c4f Move sway's internal tree code to sway/tree/
7 years ago