308 Commits (63420a2caa728dd52121fc4b9a3d6d7a4f2c3444)

Author SHA1 Message Date
Ryan Dwyer b637b61a7a Rename mousedown to down and make seat operation a named enum
6 years ago
Ryan Dwyer a36625a482 Implement mousedown operation
6 years ago
Ryan Dwyer 3a888163a0 Refactor seat_get_focus functions
6 years ago
Ryan Dwyer e9d46ccbdd Use col-resize and row-resize cursor images
6 years ago
Ryan Dwyer b4a0363d17 Implement resizing tiled containers via cursor
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 a0649190de Fix edge cases when moving floating container to new workspace
6 years ago
Ryan Dwyer 9339026a31 Fix focus related crashes
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 dd1d6255f0 ipc: add window::focus event
6 years ago
chr0me 77d74dd34f XCursor is not configured if no pointer device is available
6 years ago
Ryan Dwyer 7a59508da4 Close popups when changing focus
6 years ago
Drew DeVault 53069f1403
Merge pull request #2360 from RyanDwyer/floating-containers
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 a4bcddcfdc Include errno.h
6 years ago
Ryan Dwyer d6daf10cad Show errno description in log
6 years ago
Ryan Dwyer 32663b7b01 Handle out-of-fd situations gracefully for transaction and urgent timers
6 years ago
Ryan Dwyer 27a20a4884 Allow containers to be fullscreen
6 years ago
Drew DeVault fc718f629a
Merge pull request #2350 from ppascher/xwayland-optional
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
Ryan Dwyer b14bd1b0b1 Fix crash when closing last child of a tabbed container
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
Brian Ashworth 44e218574f Add missing checks to fix 2339
6 years ago
Ryan Dwyer d21d4b83a3 Set cursor when beginning resize and move operations
7 years ago
Ryan Dwyer 9df660ee31 Store last button and use it when views request to move or resize
7 years ago
Ryan Dwyer 0c87bff5d1 Replace static handle_end_operation with seat_end_mouse_operation
7 years ago
Ryan Dwyer ff445cc855 Implement xdg shell request_move and request_resize events
7 years ago
Ryan Dwyer 37b33f92e8 Fix urgent timer logic and remove unnecessary header includes
7 years ago
Ryan Dwyer c2ed3d8bd6 Implement force_display_urgency_hint
7 years ago
emersion 747725b8bb Don't unfocus when an override redirect window is mapped
7 years ago
emersion 03d49490cc Update cursor on focus change
7 years ago
Drew DeVault d6bd314dff
Merge pull request #2276 from RyanDwyer/urgency
7 years ago
Ryan Dwyer 9ca5cb7faf Fix tab split focus bug
7 years ago
Ryan Dwyer 315d5311b2 Implement urgency base functionality
7 years ago
Ryan Dwyer a120d4c79f Make focus part of transactions
7 years ago
Ryan Dwyer ee0e1b170e Fix crash in seat code
7 years ago
dudemanguy 600c126150 fix crash on floating windows
7 years ago
Ryan Dwyer 15dc5286e2 Move floating windows to front when focused
7 years ago
emersion 63b4bf5000
Update for swaywm/wlroots#1126
7 years ago
Ryan Dwyer 0bd41a0dae Fix focus related damage
7 years ago
Ryan Dwyer 1e4807efa0 Don't return pending children in seat_get_active_current_child
7 years ago
Ryan Dwyer a2fbb20a61 Merge remote-tracking branch 'upstream/master' into atomic
7 years ago
Ryan Dwyer 32b865e610 Fix crash when deleting last child in a tabbed or stacked container
7 years ago
emersion cda66e9a26
Automatically float xwayland windows
7 years ago
emersion cfd02918c0
Render drag icons
7 years ago
Ryan Dwyer 9253278328 Restore focus when unmapping layer shell surfaces
7 years ago
Ryan Dwyer 57e78414fa Fix seat_get_active_child
7 years ago
Drew DeVault e605dc43bb Fix mouse warping interaction with layout coords
7 years ago
Ryan Dwyer 1f2e399ade Implement floating
7 years ago
Ryan Dwyer 7c7d24600b Fix ancestor typos
7 years ago
Scott Leggett d1ebbebea0 Remove unused function.
7 years ago
Scott Leggett 4cd304e4ba Store previous position in sway_cursor.
7 years ago
Scott Leggett 06098bef98 Focus containers only on entry.
7 years ago
Ryan Dwyer efc07fb3d4 Don't track damage for views on inactive tabs
7 years ago
Brian Ashworth 82cd55a670 Fix border commands from changing focus
7 years ago
Ryan Dwyer 83e314bf51 Highlight all child borders when using focus parent
7 years ago
emersion 70b80b4698
Damage container on focus
7 years ago
emersion 424006089e
Default to backend-wise input device mapping, if any
7 years ago
Drew DeVault 52aa245b24 Implement basic touch support
7 years ago
Ryan Dwyer 167c2e1aa9 Refactor arrange_windows()
7 years ago
emersion ff61df17ff
Add map_from_region command
7 years ago
emersion 3ed3bdf03f
Fix segfault when switching back to workspace with osu!
7 years ago
emersion 4cf77e1de4
Default to current time when triggering cursor events
7 years ago
emersion 33ed279494
Update cursor when workspace focus changes
7 years ago
Drew DeVault 777800e37a Fix qutebrowser crash on context menu dismissal
7 years ago
Ryan Dwyer c685ef081f Create sway_workspace struct.
7 years ago
Ryan Dwyer 52420cc24d Implement fullscreen.
7 years ago
db f555edf353 remove empty workspace when focusing its output
7 years ago
Dominique Martinet 1fd21650d7 seat_set_focus_wrap: fix use-after-free when destroying last focused container
7 years ago
Drew DeVault 07b6be6214
Merge pull request #1769 from acrisci/focus-inactive-fixes
7 years ago
Drew DeVault 0e3ddf255e Add input "identifier" map_to_output "identifier"
7 years ago
Tony Crisci ae78f6fb93 Merge branch 'wlroots' into focus-inactive-fixes
7 years ago
Drew DeVault 9c5a88a7bd Fix cursor motion issues
7 years ago
Tony Crisci 46280460a5 push all parents of focused container in focus stack
7 years ago
Drew DeVault 9114d3b84c Implement tablet tool support
7 years ago
Tony Crisci de811823b6 seat focus inactive children foreach
7 years ago
Tony Crisci c0f9ee7bd1 seat get focus inactive view
7 years ago
emersion 2b357af7ee
Give keyboard focus to unmanaged xwayland surfaces
7 years ago
Drew DeVault 603e0e42c5 Add debug tree view
7 years ago
Drew DeVault b08f7e5183 Fix deletion of still-visible workspaces on unfocus
7 years ago
Tony Crisci 65f254f3fb Merge branch 'wlroots' into fix-focus-inactive
7 years ago
Tony Crisci deda37469a fix focus child
7 years ago
emersion 8eff00f723 Remove unused SWAY_VIEW_TYPES
7 years ago
Tony Crisci 3e61718053 try to fix focus-inactive
7 years ago
Drew DeVault d2d050d59c Address review feedback
7 years ago
Drew DeVault b7e7794912 Implement input-inhibit in sway, swaylock
7 years ago
Drew DeVault 06fbd51ff5 Add input inhibitor to input manager
7 years ago
Drew DeVault 3ede718c06 Refocus the last focused container on lock exit
7 years ago
Tony Crisci 741e3959e3 Merge branch 'wlroots' into split-containers2
7 years ago
Tony Crisci 97b171649d move output damage to workspace destructor
7 years ago
Tony Crisci b4c5f79725 move view and workspace destructors to container.c
7 years ago
Drew DeVault 56078edd65 Give exclusive focus to layers above shell layer
7 years ago
Tony Crisci d434da5632 Merge branch 'wlroots' into split-containers
7 years ago
Tony Crisci 357a4401fa address feedback
7 years ago
Tony Crisci 35445b40a2 remove unused attachment config
7 years ago
Tony Crisci a82c107c76 80col
7 years ago
Tony Crisci 53bb7ea996 dont copy seat config on the seat
7 years ago
Tony Crisci 0828c77251 rename input-manager functions
7 years ago
Tony Crisci e677c5b204 rename seat functions
7 years ago
Tony Crisci eda425fdab fix some segfaults
7 years ago
Tony Crisci 2aec85bf24 clean up view destroy seat cleanup
7 years ago
Tony Crisci 6f7b33e691 handle container destroy in the seat
7 years ago
Tony Crisci 7706d83160 basic split containers
7 years ago
Drew DeVault f2332dc75c Address review feedback
7 years ago
Drew DeVault b9d2983324 Fix interaction between warping and following
7 years ago
Drew DeVault ae6d459000 Implement mouse warping
7 years ago
Drew DeVault 5c08e13e50 Set Xwayland seat on focus
7 years ago
emersion b237fa0b22
Set xwayland cursor
7 years ago
Drew DeVault 01af343912 Destroy empty workspaces when moving away
7 years ago
Drew DeVault f26ecd9f58 Merge remote-tracking branch 'origin/wlroots' into swaybar-layers
7 years ago
Tony Crisci 8f490d7d2d Fix oversights from previous pull request
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 92c58b1e63 rename container_for_each_descendent
7 years ago
Drew DeVault 6836074fed Implement enough IPC for swaybar to work
7 years ago
Tony Crisci 4c394a0e9e address feedback
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 946d9459c5 get swayc in direction
7 years ago
Tony Crisci ce3a1b3922 properly pick next focus
7 years ago
Tony Crisci 145b4fdf58 use bfs iterator to collect focus stack
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 5766f426aa config reload: destroy old seat when removed from config
7 years ago
emersion 0c58673c6a
Merge pull request #1574 from acrisci/config-refactor
7 years ago
Drew DeVault c933781fac
Merge pull request #1570 from acrisci/config-references
7 years ago
Tony Crisci 0e3eae4baa view interface
7 years ago
Tony Crisci 2bf76509f8 update for new wlr-keyboard modifiers
7 years ago
Tony Crisci 9f54cd8935 copy config references for input and seat
7 years ago
Dominique Martinet 67985e9031 sway: change all sway_log to wlr_log
7 years ago
Dominique Martinet f3d8df45fc seat_configure_pointer: apply libinput config
7 years ago
Tony Crisci 63f7fb9517 cleanup
7 years ago
Drew DeVault b0291d126f Fix compile error
7 years ago
Tony Crisci 88bcd43ebf seat fallback config
7 years ago
Tony Crisci e27eff8a29 send keyboard enter on keyboard configuration
7 years ago
Tony Crisci b0ed1ad28d device add/remove logging
7 years ago
Tony Crisci b3a0309f26 fix logging issue for new wlroots
7 years ago
Tony Crisci 92fef27eaa basic configuration
7 years ago
Tony Crisci 163edc5a90 sway input device
7 years ago
Tony Crisci 9ae906cd37 sway pointer
7 years ago
Tony Crisci 4d449743c5 keyboard remove
7 years ago
Tony Crisci 609f63934a basic keyboard
7 years ago
Tony Crisci 6339c4f161 remove pointer device
7 years ago
Tony Crisci 21626e8153 seat focus on button press
7 years ago
Tony Crisci 9333a7eb53 working xcursor
7 years ago
Tony Crisci 7c67bea942 sway xcursor manager
7 years ago
Tony Crisci d76e745b73 input include directory
7 years ago
Tony Crisci ec7fc42a00 sway cursor
7 years ago
Tony Crisci f6f63f60d6 basic input manager and seat
7 years ago