382 Commits (41991542cac1d909a55fc834d231fe747097b1a4)

Author SHA1 Message Date
Ryan Dwyer fb9b0f7a08 Fix focus bug
6 years ago
Ryan Dwyer eccfcde2eb Fix crash when moving mouse over a fullscreen split container
6 years ago
Ryan Dwyer 2aa6afae54 Fix mouse_warping
6 years ago
Ryan Dwyer 7586f150c0 Implement type safe arguments and demote sway_container
6 years ago
Ryan Dwyer 7797490e9e Deny repeating reload by holding key
6 years ago
Drew DeVault 80270ba086
Merge pull request #2544 from RyanDwyer/fix-deferred-cmd-crash
6 years ago
Ryan Dwyer dce549c537 Don't send never-ending transactions when a focused layer surface commits
6 years ago
Ryan Dwyer 1e0459f7f7 Fix crash when running deferred commands
6 years ago
Ian Fan 3bf849d993 seat.c: clean-up seat_set_focus_warp function
6 years ago
Ryan Dwyer 5dbbab7bdc Remove layout.c
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 2b5a404ac9 Replace hacky L_FLOATING container with a list
6 years ago
Ryan Dwyer d6cd79c342 Implement iterators per container type
6 years ago
Drew DeVault d4a32800d5
Merge pull request #2460 from RyanDwyer/implement-mousedown
6 years ago
Ryan Dwyer d22420689d Fix mod+resize
6 years ago
Ryan Dwyer 07a897b3b7 Don't send motion if the cursor hasn't moved
6 years ago
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 4d023c0390 Make mod+resize a floating container resize the container itself
6 years ago
Ryan Dwyer e9d46ccbdd Use col-resize and row-resize cursor images
6 years ago
Ryan Dwyer 1893515d3a Fix right-click/popups and add state checks
6 years ago
Ryan Dwyer 2dceae6224 Allow resizing tiled views via mod key
6 years ago
Ryan Dwyer f4280e506b Refactor dispatch_cursor_button
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 f5dc3ac09d Don't call send_pointer_notify_button when doing move or resize
6 years ago
Ryan Dwyer 4c5dc6f135 Focus floating views when beginning move/resize operations
6 years ago
Ryan Dwyer a0649190de Fix edge cases when moving floating container to new workspace
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
minus e72f86784c Fix crash on mouse motion on fullscreen container
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
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
Ryan Dwyer de86d65627 Fix popups
6 years ago
frsfnrrg 8dbbfa5965 Bindings use advised keyboard repeat parameters
7 years ago
frsfnrrg e33dfbfa75 Implement key repeat for pressed key bindings
7 years ago
emersion 5af776e734
Merge pull request #2376 from swaywm/virtual-keyboard
7 years ago
Drew DeVault 1e65439a54 Add virtual keyboard protocol
7 years ago
Geoff Greer 30fee94354 Don't enable numlock by default. This fixes an annoying issue where laptop keyboards would have 'numlock mode' enabled, remapping parts of the alphabet to numbers.
7 years ago
Drew DeVault 53069f1403
Merge pull request #2360 from RyanDwyer/floating-containers
7 years ago
Ryan Dwyer da2a87f6c7 When unfloating, return container to previously focused tiled container
7 years ago
Ryan Dwyer 0b6b6716e2 Fix clicking a floating split container
7 years ago
Ryan Dwyer 08cfba2192 Allow containers to float
7 years ago
Ryan Dwyer a4bcddcfdc Include errno.h
7 years ago
Ryan Dwyer d6daf10cad Show errno description in log
7 years ago
Ryan Dwyer 32663b7b01 Handle out-of-fd situations gracefully for transaction and urgent timers
7 years ago
Ryan Dwyer 27a20a4884 Allow containers to be fullscreen
7 years ago
ProgAndy 76ece5788b Fix LEDs for configured modifier states
7 years ago
ProgAndy 2166dbe2e4 Implement setting NumLock and CapsLock status
7 years ago
Drew DeVault fc718f629a
Merge pull request #2350 from ppascher/xwayland-optional
7 years ago
Pascal Pascher f95cb9a7c1 reverted includes of "sway/config.h" and replaced with "config.h" from meson build
7 years ago
Pascal Pascher 79a45d4a40 more style fixes, included "sway/config.h" where needed
7 years ago
Ryan Dwyer b14bd1b0b1 Fix crash when closing last child of a tabbed container
7 years ago
Brian Ashworth 3a75bb7f32 Change button var passed to seat_begin_move
7 years ago
Brian Ashworth dca02944ce Implement floating_modifier <mod> [inverse|normal]
7 years ago
Pascal Pascher 2bf893248a style fixes, exclude sway/desctop/xwayland.c when enable_xwayland: false
7 years ago
Pascal Pascher 24ad1c3983 Added meson option "enable_xwayland" (default: true) to enable/disable xwayland support
7 years ago
Ryan Dwyer 2f1b84a0f3 Fix crash when clicking certain surfaces
7 years ago
Ryan Dwyer e7c10f1871 Make mod+resize work in any direction
7 years ago
frsfnrrg 94dd8823a0 Invoke mouse bindings
7 years ago
frsfnrrg 754372c3de Parse mouse binding options
7 years ago
Ryan Dwyer 0db6f2ef58 Fix some cases where the cursor doesn't update
7 years ago
Brian Ashworth 44e218574f Add missing checks to fix 2339
7 years ago
Ryan Dwyer d21d4b83a3 Set cursor when beginning resize and move operations
7 years ago
Ryan Dwyer 009b426024 Fix damage when shrinking a floating view using cursor
7 years ago
Ryan Dwyer 5ba2ae9c6a Implement request_move and request_resize for xwayland views
7 years ago
Ryan Dwyer 3faceadffe Fix focus bug with floating containers
7 years ago
Ryan Dwyer 011d1ebfa4 Consider view's min/max sizes when resizing
7 years ago
Ryan Dwyer 9df660ee31 Store last button and use it when views request to move or resize
7 years ago
Ryan Dwyer 6767d8a593 Prevent re-uploading the same cursor image multiple times
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 1b3b75a094 Use wlr_keyboard_get_modifiers
7 years ago
Ryan Dwyer dd337127d8 Use separate function for choosing edge cursor
7 years ago
Ryan Dwyer 350e9ea929 Fix clicking xwayland menus
7 years ago
Ryan Dwyer c299b6b5cd Use max multiplier when resizing while preserving ratio
7 years ago
Ryan Dwyer 2c6616050a Make mod + resize do it from the top left corner
7 years ago
Ryan Dwyer 3aadf944ae Use WLR_MODIFIER_SHIFT
7 years ago
Ryan Dwyer 9fbe13b9be Implement floating_modifier and mouse operations for floating views
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
Ryan Dwyer 8533c35a9f Fix crash and render issues involving cursor_send_pointer_motion
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
Brian Ashworth 13c6627ddb Implement tap_button_map for input devices
7 years ago