365 Commits (ac7892371ce1ef7a05619492f0896f525b4dbdc3)

Author SHA1 Message Date
Ryan Dwyer 415a48ac63 Make gaps implementation consistent with i3-gaps
6 years ago
Ryan Dwyer 21ff87d72b Improve CSD logic
6 years ago
Ryan Dwyer 7b138e5ef0 Add CSD to border modes
6 years ago
Ryan Dwyer 4e4898e90f Fix race condition crash when view unmaps + maps quickly
6 years ago
Ryan Dwyer b1a0e95e8e Fix crash when disconnecting output
6 years ago
emersion 1af4d314d1
Merge pull request #2686 from RyanDwyer/tab-scrolling
6 years ago
Geoff Greer c495164f60 swaybar, swaylock, & tree/container: Set cairo font options to render text and lines with subpixel hinting (if available).
6 years ago
Ryan Dwyer bf5933c501 Implement tab cycling using mouse wheel
6 years ago
Ryan Dwyer f6e218a643 Rename seat_get_active_child to seat_get_active_tiling_child
6 years ago
Ryan Dwyer 09733e233f Fix crash when unmapping last child of a tabbed workspace
6 years ago
Ryan Dwyer 679c7eb08c Minor fixes to tiling drag implementation
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 9a08019267 Prevent stacked layout from crashing
6 years ago
William Wold e787a1581c Give windows pointer focus immediately when they are switched to
6 years ago
Ryan Dwyer 9215ca0f01 Align titles to baseline
6 years ago
Ryan Dwyer 635ae9557c Second attempt at restoring focus when closing a fullscreen view
6 years ago
Ryan Dwyer 908095ef9a Introduce seat_set_focus_container and seat_set_focus_workspace
6 years ago
Ryan Dwyer dbf4aa3e33 Allow marked containers to be moved out of the scratchpad via move command
6 years ago
Ryan Dwyer c0da364865 Fix floating view moving to 0,0 when splitting
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 2438f5f050 Fix crash when reaping a workspace
6 years ago
Ryan Dwyer 126a82f14f Fix gaps issues
6 years ago
Ryan Dwyer f5b9815128 Prepare arrange code for type safe arguments
6 years ago
Drew DeVault 82423b88b8
Merge pull request #2494 from RyanDwyer/fix-overflowing-subsurfaces
6 years ago
Ian Fan 6ae2e3a4a8 ipc: clean-up container_create_notify function
6 years ago
Ian Fan e7c94708f2 ipc: emit window close event earlier, before destroying
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 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 e81c26fab9 Fix sending fullscreen event to view
6 years ago
Ryan Dwyer e1955c5c08 Fix crash when adding output
6 years ago
Ryan Dwyer a49e4b13bf Clean up tracked outputs when an output is destroyed
6 years ago
Ryan Dwyer 0f6d212629 Send output enter/leave events correctly
6 years ago
Ryan Dwyer 4afb2e3f24 Allow subsurfaces which overflow the container to be interacted with
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
Ian Fan 1be75fe740 Fix double iterating in container_for_each_child
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 8af4e2e3e6 Handle xwayland views sending new sizes in their commits
6 years ago
Ryan Dwyer 982a2d0c99 Fix geometry
6 years ago
Ryan Dwyer 6a26b499a4 Attempt to reap old tiling parent when floating a container
6 years ago
Ryan Dwyer c3ef36d6b5 Simplify transactions
6 years ago
Ryan Dwyer 5f3757c927 Fix container_has_ancestor crash
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 a0ece6f956 Rename container_at_view to surface_at_view and make it return void
6 years ago
Ryan Dwyer 1e984fec05 Fix focus when clicking floating decorations
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
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
Drew DeVault 9564c73c0d
Merge pull request #2391 from RyanDwyer/fix-popups-v2
6 years ago
Ian Fan 4bf253855f ipc: fix workspace::move calls argument order
6 years ago
Ian Fan 07101a5707 ipc: only emit window::create event for views
6 years ago
Ian Fan 686c084cec ipc: add workspace::empty event
6 years ago
Ian Fan f0310933c8 ipc: add window::close event
6 years ago
Ian Fan 87ccf18964 ipc: add workspace::init event
6 years ago
Ryan Dwyer de86d65627 Fix popups
6 years ago
Brian Ashworth b8efdeae29 Fix title textures on scale change
6 years ago
Drew DeVault 53069f1403
Merge pull request #2360 from RyanDwyer/floating-containers
6 years ago
Ryan Dwyer 84cd22c8cb Fix crash when a deferred command destroys a workspace
6 years ago
Ryan Dwyer debb8e85b2 Fix crash when unfloating child of container into empty workspace
6 years ago
Ryan Dwyer 538e083f61 Fix focus mode_toggle from a child of a floating container
6 years ago
Ryan Dwyer da2a87f6c7 When unfloating, return container to previously focused tiled container
6 years ago
Ryan Dwyer 08cfba2192 Allow containers to float
6 years ago
Ryan Dwyer 27a20a4884 Allow containers to be fullscreen
6 years ago
Cédric Cabessa 445a09575c fix #2355: "move workspace to output up" crashes
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
Ryan Dwyer 81e8f31cc6 Implement scratchpad
6 years ago
Ryan Dwyer 0c87bff5d1 Replace static handle_end_operation with seat_end_mouse_operation
6 years ago
Ryan Dwyer 9fbe13b9be Implement floating_modifier and mouse operations for floating views
6 years ago
Ryan Dwyer 8789ceea87 Fix pointer events for overlapping floating views
6 years ago
Ryan Dwyer 8ce7e3b44e
Merge branch 'master' into destroy-output-destroy-empty-workspaces
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 560627437b Make container_for_each_descendant_dfs descend into floating views
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
Ryan Dwyer b0fc7e9850 Remove duplicate function declaration and add assertion
6 years ago
Ryan Dwyer ab8a86369c Implement some floating move commands
6 years ago
vilhalmer 621d2666b1
Destroy empty workspace when destroying its output
6 years ago
Ryan Dwyer 0046eed969 Fix titles when container titles contain UTF-8 characters
6 years ago
Dominique Martinet ffbe91c245 container_free: free formatted title
6 years ago
Ryan Dwyer 4cb6c368a7 Fix boolean
6 years ago
Ryan Dwyer f156a25e64 Only call view_set_tiled when switching floating mode
6 years ago
Ryan Dwyer e396af853b Merge remote-tracking branch 'upstream/master' into atomic
7 years ago
Rostislav Pehlivanov f42bf0ad4a container_at_view: don't offset the view by the window geometry
7 years ago
Rostislav Pehlivanov e0d0e8f840 Revert "Don't unmaximize floating views"
7 years ago
Ryan Dwyer 8773ed3970 Fix memleak in container_get_box
7 years ago
Ryan Dwyer 61c1187685 Fix nitpicks
7 years ago
Ryan Dwyer a7b3f29292 Remove incorrect assertion and supporting code
7 years ago
Ryan Dwyer 93696b78ec Fix crash when closing output window from outer session
7 years ago
Ryan Dwyer 834805f5e2 Fix crash when disconnecting output
7 years ago
Ryan Dwyer a3976e2659 Fix another crash when moving out of stacks or tabs
7 years ago
Ryan Dwyer b864ac0149 Fix crash when unmapping a view with reapable parents
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
Nate Symer 6a910b9ba5 Implement gaps (PR #2047)
7 years ago
Ryan Dwyer bb66e6d578 Refactor everything that needs to arrange windows
7 years ago
Ryan Dwyer 59c9488701 WIP: Atomic layout updates ground work
7 years ago
Brian Ashworth e2b2fb0a0e Switch restore workspaces to a nested for-loop
7 years ago
Brian Ashworth 5c9a917df9 Restore workspaces to outputs based on priority
7 years ago
Brian Ashworth a0bbe67076 Address emersions comments on output re-enabling
7 years ago
Brian Ashworth a1b5b93d29 Store sway_outputs so that they can be reenabled
7 years ago
Ryan Dwyer 8289e30308 Fix potential crash when destroying workspace
7 years ago
Ryan Dwyer 97672295ed Don't unmaximize floating views
7 years ago
Ryan Dwyer d4ed204d4d Remove container_self_or_parent_floating
7 years ago
Ryan Dwyer 70f5d6fcf3 Rename container_set_geometry_from_view
7 years ago
Ryan Dwyer e4e912ea91 Store swayc coordinates as layout-local
7 years ago
Ryan Dwyer 02de2a6f65 Rename set_maximized functions to set_tiled
7 years ago
Ryan Dwyer dc83b158e1 Fix issues with sticky containers and workspaces
7 years ago
Ryan Dwyer 13a4b0512e Fix unfullscreening a floating view
7 years ago
Ryan Dwyer aaba7642b3 Replace is_floating boolean with function
7 years ago
Ryan Dwyer 34f35f0bad Use L_FLOATING instead of reapable boolean
7 years ago
Ryan Dwyer 1f2e399ade Implement floating
7 years ago
Ryan Dwyer 6f4cb2b29d Add tree representation to IPC workspace description
7 years ago
Ryan Dwyer 7c7d24600b Fix ancestor typos
7 years ago
Brian Ashworth fd137c4f05 Send workspace::move in container_output_destroy
7 years ago
emersion 9c0cc98d07
Don't move empty workspaces when output is destroyed
7 years ago
Ryan Dwyer db38b9bbf3 Clean up container title functions
7 years ago
Ryan Dwyer 5354988317 Implement clicking stacked title bars
7 years ago
Ryan Dwyer f6c3682c05 Use constants for titlebar dimensions
7 years ago
Ryan Dwyer 4672cb7ccf Use class or app_id in tree representation
7 years ago
Ryan Dwyer efc07fb3d4 Don't track damage for views on inactive tabs
7 years ago
Ryan Dwyer bd79584f65 Add assertion in container_at_view
7 years ago
Ryan Dwyer c08f9bf257 Implement tabbed layout
7 years ago
Ryan Dwyer 9fd28aea8c Rebuild textures if needed when moving a container
7 years ago
Ryan Dwyer ebb0d051db Fix many border opacity issues
7 years ago
Ryan Dwyer b351d0a64a Set textures to null when destroying
7 years ago
emersion 95a10dd4f3
Kill wl_shell
7 years ago
emersion 88d9d43b36
Add xdg-shell stable support
7 years ago
Brian Ashworth 0f43eac5dc Fix recursion when counting descendants of a type
7 years ago
Brian Ashworth e3625d8f33 Count descendant views for hide_edge_borders smart
7 years ago
emersion c0f5d740a5
Damage container when updating title
7 years ago
emersion bec80f1551
Damage borders when damaging view
7 years ago
Ryan Dwyer 556ff5f50e Implement pango support
7 years ago
Ryan Dwyer 228c478e8d Implement title_format
7 years ago
Ryan Dwyer e83e5487be Use scissor to render title texture
7 years ago