262 Commits (7c44c769891553d1940285a1264b5fbe8de76c75)

Author SHA1 Message Date
Brian Ashworth 742d1764a6 Fix smart gaps
6 years ago
Ryan Dwyer 415a48ac63 Make gaps implementation consistent with i3-gaps
6 years ago
Ryan Dwyer 138d10d5d6 Rename workspace_outputs to workspace_configs and fix memory leak
6 years ago
Ryan Dwyer 21ff87d72b Improve CSD logic
6 years ago
Ryan Dwyer 6d0442c0c2 Rename view_set_csd_from_client to view_update_csd_from_client
6 years ago
Ryan Dwyer 7b138e5ef0 Add CSD to border modes
6 years ago
Ian Fan 81f3fda6fa ipc: add pid information for views in layout tree
6 years ago
Ryan Dwyer 679c7eb08c Minor fixes to tiling drag implementation
6 years ago
Ryan Dwyer 8bb40c24c7 Implement tiling drag
6 years ago
Ryan Dwyer 9215ca0f01 Align titles to baseline
6 years ago
Ryan Dwyer 06d9693829 Remove offset argument to container_add_sibling
6 years ago
Ryan Dwyer 7586f150c0 Implement type safe arguments and demote sway_container
6 years ago
Ryan Dwyer 29f5cc7508 Implement window_role criteria token
6 years ago
Ryan Dwyer f057a0195e Implement focus_on_window_activation
6 years ago
Ryan Dwyer f5b9815128 Prepare arrange code for type safe arguments
6 years ago
Drew DeVault 10c2c09cf6
Merge pull request #2513 from RyanDwyer/rename-root-outputs
6 years ago
Ryan Dwyer 5dbbab7bdc Remove layout.c
6 years ago
Ryan Dwyer 8bed4be1f3 Make separate gaps functions per container type
6 years ago
Ryan Dwyer 1e024b91fa Add comment for sway_root.all_outputs
6 years ago
Ryan Dwyer 2e7401772e Rename sway_root.outputs to sway_root.all_outputs
6 years ago
Ryan Dwyer f4bc25bcc6 Relocate container_move, container_move_to and container_get_in_direction
6 years ago
Ryan Dwyer b6058703fa Refactor destroy functions and save workspaces when there's no outputs
6 years ago
Ryan Dwyer f129b1b89f Replace enum resize_edge with wlr_edges
6 years ago
Ryan Dwyer e1955c5c08 Fix crash when adding output
6 years ago
Ryan Dwyer 0f6d212629 Send output enter/leave events correctly
6 years ago
Ryan Dwyer 2b5a404ac9 Replace hacky L_FLOATING container with a list
6 years ago
Drew DeVault d0a24465d7
Merge pull request #2466 from RyanDwyer/geometry
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
Ryan Dwyer b0a5f3a25f Store geometry in the view and handle any floating view resizing
6 years ago
Ryan Dwyer 982a2d0c99 Fix geometry
6 years ago
emersion b3ee9af0c8 Add view_get_geometry
6 years ago
Ryan Dwyer 1801b725e2 Add using_csd variable to transaction state
6 years ago
Ryan Dwyer c3ef36d6b5 Simplify transactions
6 years ago
Drew DeVault 2aa6d98c5a
Merge pull request #2449 from RyanDwyer/remove-bfs
6 years ago
Ryan Dwyer 4ad1ccc9dc Remove container_for_each_descendant_bfs
6 years ago
Ryan Dwyer 31844bf42b Remove container_has_child
6 years ago
Ryan Dwyer 5653fc754b Deny moving a sticky container to workspace if it's the same output
6 years ago
Ryan Dwyer a0649190de Fix edge cases when moving floating container to new workspace
6 years ago
Ryan Dwyer 36281609ea Implement move to workspace on a floating container
6 years ago
Drew DeVault d8b65193c4
Merge pull request #2268 from emersion/server-decoration-borders
6 years ago
emersion 9d578e0a0f Handle views created after decoration mode is sent for xdg-shell
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
Ian Fan 69e1a421fc commands: complete move implementation
6 years ago
Ryan Dwyer 30e7e0f7c7 Move workspace pid code to root.c
6 years ago
Ryan Dwyer 04489ff420 Separate root-related code
6 years ago
Ryan Dwyer c17f0870ef Fix crash when moving cursor over a fullscreen split container
6 years ago
emersion b336564511 Fix pointer events for fullscreen views
6 years ago
Ryan Dwyer 8392eae40f Revert "Revert "Fix popups""
6 years ago
Drew DeVault 9aa258d33a Revert "Fix popups"
6 years ago
emersion 47bf4ed0cb
Merge branch 'master' into fix-resize-wiggle
6 years ago
Drew DeVault 9564c73c0d
Merge pull request #2391 from RyanDwyer/fix-popups-v2
6 years ago
Ian Fan 317217f2c8 ipc: add window::mark event
6 years ago
Ryan Dwyer d10ccc1eb1 Correctly track saved surfaces during multiple transactions
6 years ago
Ryan Dwyer 7a59508da4 Close popups when changing focus
6 years ago
Ryan Dwyer de86d65627 Fix popups
6 years ago
Brian Ashworth b8efdeae29 Fix title textures on scale change
6 years ago
Ryan Dwyer 08cfba2192 Allow containers to float
6 years ago
Ryan Dwyer 27a20a4884 Allow containers to be fullscreen
6 years ago
Pascal Pascher f95cb9a7c1 reverted includes of "sway/config.h" and replaced with "config.h" from meson build
6 years ago
Pascal Pascher 2bf893248a style fixes, exclude sway/desctop/xwayland.c when enable_xwayland: false
6 years ago
Pascal Pascher 24ad1c3983 Added meson option "enable_xwayland" (default: true) to enable/disable xwayland support
6 years ago
Drew DeVault f4b882475e Merge branch 'master' into pid-workspaces
6 years ago
Ryan Dwyer 12e90fa600 Store scratchpad list in sway_root instead of server
6 years ago
Ryan Dwyer 81e8f31cc6 Implement scratchpad
6 years ago
emersion 238c8afc74 Handle set_{title,app_id} for xdg-shell and zxdg-shell-v6
6 years ago
Ryan Dwyer 011d1ebfa4 Consider view's min/max sizes when resizing
6 years ago
Ryan Dwyer 9fbe13b9be Implement floating_modifier and mouse operations for floating views
6 years ago
Ryan Dwyer 63d6233fcb Allow xwayland views to become urgent when on a non-visible workspace
6 years ago
Ryan Dwyer 75c699db62 Implement default_floating_border command and adjust CSD behaviour
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 a120d4c79f Make focus part of transactions
6 years ago
Ryan Dwyer 2032f85d94 Simplify transactions by utilising a dirty flag on containers
6 years ago
emersion 9b16227ec3 Don't disable borders for xwayland floating views
6 years ago
Ryan Dwyer ab8a86369c Implement some floating move commands
6 years ago
Drew DeVault acd79e1505 Implement pid->workspace tracking
6 years ago
Dominique Martinet 9ea4cc13a0 sway views: add helpers to get view and layer from wlr_surface
6 years ago
Ryan Dwyer e396af853b Merge remote-tracking branch 'upstream/master' into atomic
6 years ago
Rostislav Pehlivanov e0d0e8f840 Revert "Don't unmaximize floating views"
6 years ago
Ryan Dwyer 3c81a900b7 Add comment about usage to arrange_windows declaration
6 years ago
Ryan Dwyer 8773ed3970 Fix memleak in container_get_box
7 years ago
Ryan Dwyer 50190bc760 Rename view's free callback to destroy
7 years ago
Ryan Dwyer 7a922c65aa Damage output when a fullscreen view unmaps
7 years ago
Ryan Dwyer 38398e2d77 Implement atomic layout updates for tree operations
7 years ago
Ryan Dwyer 1c89f32533 Preserve buffers during transactions
7 years ago
Ryan Dwyer 9e96cfd310 Merge remote-tracking branch 'upstream/master' into atomic
7 years ago
Drew DeVault 867fb6aedb
Merge pull request #2124 from emersion/drag-icons
7 years ago
Nate Symer 6a910b9ba5 Implement gaps (PR #2047)
7 years ago
emersion cfd02918c0
Render drag icons
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 e072fbc6d9 Switch output storing from list_t to wl_list
7 years ago
Brian Ashworth a1b5b93d29 Store sway_outputs so that they can be reenabled
7 years ago
Ryan Dwyer a2c1cb9072 Fix mpv damage issue when unfullscreening into floating
7 years ago
Ryan Dwyer 97672295ed Don't unmaximize floating views
7 years ago