617 Commits (2942bbbc609a5ed2137dd9319bcdfae636df30a1)

Author SHA1 Message Date
Ian Fan 34dbbb1314 ipc: handle NULL cases for node_get_output
6 years ago
Ian Fan 25ba80057d Remove redundant container creation in view initialization
6 years ago
Drew DeVault d8a96c9e4d
Merge pull request #2621 from emersion/fix-unmap-segfault
6 years ago
Ryan Dwyer 679c7eb08c Minor fixes to tiling drag implementation
6 years ago
emersion 8b263429cf Don't use handler_context in view_unmap
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 097ed03647 Minor fix
6 years ago
William Wold 22c5dd8a02 Minor fix
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 c6368febc8 Adjust container box
6 years ago
Brian Ashworth c246cf84c8 Call wlr_output_enable on enable/disable if needed
6 years ago
Ryan Dwyer dbf4aa3e33 Allow marked containers to be moved out of the scratchpad via move command
6 years ago
Ryan Dwyer 3cc7de3fb4 Fix crash when view in scratchpad becomes urgent
6 years ago
Ryan Dwyer c0da364865 Fix floating view moving to 0,0 when splitting
6 years ago
Ryan Dwyer 4e0452fce3 Fix scratchpad related crashes
6 years ago
Ryan Dwyer 93ff7879f1 Fix output position issue
6 years ago
Ryan Dwyer 26204441b4 Apply default config to output
6 years ago
Ryan Dwyer 06d9693829 Remove offset argument to container_add_sibling
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 df730a8891 Merge remote-tracking branch 'upstream/master' into fix-freebsd-build
6 years ago
Ryan Dwyer 6fb03817c9 Rename fowa enum and use switch in view_request_activate
6 years ago
Ryan Dwyer f057a0195e Implement focus_on_window_activation
6 years ago
sghctoma cc16948c85 Fix feature macros for FreeBSD
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 98ef29c228
Merge pull request #2523 from RedSoxFan/fix-floating-drag-outputs
6 years ago
Drew DeVault 82423b88b8
Merge pull request #2494 from RyanDwyer/fix-overflowing-subsurfaces
6 years ago
Brian Ashworth 11c1619f30 Stop floaters from snapping on move to new output
6 years ago
Brian Ashworth 148b113b8d Destroy empty workspaces in output_evacuate
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
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 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 e1d5dc0804 Translate floating containers when a workspace is moved
6 years ago
Ryan Dwyer e81c26fab9 Fix sending fullscreen event to view
6 years ago
Ryan Dwyer f129b1b89f Replace enum resize_edge with wlr_edges
6 years ago
minus 471533be0a Improve new workspace name selection
6 years ago
Ryan Dwyer 771ad7bffa Fix jumping views
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
Ryan Dwyer 7f22fab389
Merge branch 'master' into commands
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
Ian Fan 23601a8771 commands: complete assign command
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
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
emersion b3ee9af0c8 Add view_get_geometry
6 years ago
Ryan Dwyer 6a26b499a4 Attempt to reap old tiling parent when floating a container
6 years ago
Donnie West a9433cbded
When the workspace is focused, return it instead of checking parent
6 years ago
Drew DeVault 98ed05225e
Merge pull request #2458 from RyanDwyer/cleanup-transactions
6 years ago
Ryan Dwyer 701fcafc70 Use list_find in more places and refactor/fix workspace prev_next functions
6 years ago
Ryan Dwyer c3ef36d6b5 Simplify transactions
6 years ago
minus 18e425eda6 Use assigned workspace name for output
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
Brian Ashworth 3c26536267
Merge branch 'master' into master
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 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
Ryan Dwyer 50f3a7ff5c Fix infinite loop when focusing sticky containers via workspace command
6 years ago
Brian Ashworth 639f3368e1
Merge branch 'master' into workspace-move-to-output
6 years ago
Ryan Dwyer f57a3919cf Move workspace moving code out of container_move_to
6 years ago
Ian Fan f7c21451df commands: fix workspace edge cases
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
Ian Fan 69e1a421fc commands: complete move implementation
6 years ago
Mariusz Bialonczyk 776b9b7e1f Fix segv when sway is terminating
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
Brian Ashworth ad2a7c2618 Check correct ws for sticky and fix floating iter
6 years ago
emersion b49904dd7e
Merge pull request #2414 from RyanDwyer/fix-inactive-fullscreen-crash
6 years ago
Ryan Dwyer c17f0870ef Fix crash when moving cursor over a fullscreen split container
6 years ago
Ryan Dwyer 854c5fbec8 Fix crash when fullscreen view closes on inactive workspace
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
Ryan Dwyer 9339026a31 Fix focus related crashes
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 03eaf444a4 ipc: prevent emitting a workspace::focus event when moving a container to a different workspace or output
6 years ago
Ian Fan b2ac234569 ipc: fix workspace::focus event behaviour
6 years ago
Ian Fan e0e638281e ipc: add window::move events
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 317217f2c8 ipc: add window::mark event
6 years ago
Ian Fan 686c084cec ipc: add workspace::empty event
6 years ago
Ian Fan 4f8f363dda ipc: add window::title 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 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
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 902a1402ba Fix crash when a child of a floating container is in the scratchpad
6 years ago
Ryan Dwyer 08cfba2192 Allow containers to float
6 years ago
Mihai Coman d37c94d1b6 Preserve workspace name
6 years ago
Ryan Dwyer 6ceb1d33fd Fix assign to workspace
6 years ago
Ryan Dwyer a90f2dbde9 Refactor view_map
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 384c55c0b4 more style fixes, reorder config.h include
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 79a45d4a40 more style fixes, included "sway/config.h" where needed
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 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 12e90fa600 Store scratchpad list in sway_root instead of server
6 years ago
Ryan Dwyer 81e8f31cc6 Implement scratchpad
6 years ago
Ryan Dwyer 011d1ebfa4 Consider view's min/max sizes when resizing
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 54b00d351e Implement assign to output
6 years ago
Ryan Dwyer dad3a8deee Fix crash when moving workspace to output
6 years ago
Ryan Dwyer 8ce7e3b44e
Merge branch 'master' into destroy-output-destroy-empty-workspaces
6 years ago
frsfnrrg b3014f7b16 Fix uninitialized pointer in view_unmap
6 years ago
Brian Ashworth 10fc7a5b49
Merge branch 'master' into default-floating-border
6 years ago
Ryan Dwyer 9cbff272cb Remove superfluous IPC urgent events
6 years ago