120 Commits (b2ac234569ff98de583d9e7755526cadf960f772)

Author SHA1 Message Date
Ryan Dwyer 0b6b6716e2 Fix clicking a floating split 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
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
Brian Ashworth 3a75bb7f32 Change button var passed to seat_begin_move
6 years ago
Brian Ashworth dca02944ce Implement floating_modifier <mod> [inverse|normal]
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 2f1b84a0f3 Fix crash when clicking certain surfaces
6 years ago
Ryan Dwyer e7c10f1871 Make mod+resize work in any direction
6 years ago
frsfnrrg 94dd8823a0 Invoke mouse bindings
6 years ago
Ryan Dwyer 0db6f2ef58 Fix some cases where the cursor doesn't update
6 years ago
Ryan Dwyer d21d4b83a3 Set cursor when beginning resize and move operations
6 years ago
Ryan Dwyer 009b426024 Fix damage when shrinking a floating view using cursor
6 years ago
Ryan Dwyer 5ba2ae9c6a Implement request_move and request_resize for xwayland views
6 years ago
Ryan Dwyer 3faceadffe Fix focus bug with floating containers
6 years ago
Ryan Dwyer 011d1ebfa4 Consider view's min/max sizes when resizing
6 years ago
Ryan Dwyer 9df660ee31 Store last button and use it when views request to move or resize
6 years ago
Ryan Dwyer 6767d8a593 Prevent re-uploading the same cursor image multiple times
6 years ago
Ryan Dwyer 0c87bff5d1 Replace static handle_end_operation with seat_end_mouse_operation
6 years ago
Ryan Dwyer ff445cc855 Implement xdg shell request_move and request_resize events
6 years ago
Ryan Dwyer 1b3b75a094 Use wlr_keyboard_get_modifiers
6 years ago
Ryan Dwyer dd337127d8 Use separate function for choosing edge cursor
6 years ago
Ryan Dwyer 350e9ea929 Fix clicking xwayland menus
6 years ago
Ryan Dwyer c299b6b5cd Use max multiplier when resizing while preserving ratio
6 years ago
Ryan Dwyer 2c6616050a Make mod + resize do it from the top left corner
6 years ago
Ryan Dwyer 3aadf944ae Use WLR_MODIFIER_SHIFT
6 years ago
Ryan Dwyer 9fbe13b9be Implement floating_modifier and mouse operations for floating views
6 years ago
Ryan Dwyer 8533c35a9f Fix crash and render issues involving cursor_send_pointer_motion
6 years ago
Ryan Dwyer a120d4c79f Make focus part of transactions
6 years ago
emersion 63b4bf5000
Update for swaywm/wlroots#1126
6 years ago
Brian Ashworth c833ae64bc Fix pointer button events for layer surfaces
6 years ago
Tony Crisci e9ad10c2d6 dont focus-follow-mouse when keyboard grab
7 years ago
emersion cfd02918c0
Render drag icons
7 years ago
Scott Leggett 609c420501 Initialise previous cursor position.
7 years ago
Ryan Dwyer bcdb676abb Don't set focus to NULL when clicking a surface which has no container
7 years ago
Ryan Dwyer e4e912ea91 Store swayc coordinates as layout-local
7 years ago
Ryan Dwyer 1f2e399ade Implement floating
7 years ago
Scott Leggett 4d8120ccf3 Improve comment.
7 years ago
Scott Leggett b57f88e7db Avoid assert on container type.
7 years ago
Scott Leggett 1b8de39287 Move previous cursor_position inline.
7 years ago
Scott Leggett 0039f7a4fd Simplify logic, remove redundant variables.
7 years ago
Scott Leggett dd86444e59 Rely on view_is_visible rather thank walking the tree ourselves.
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
Drew DeVault fea654a6ce Replace oft-failing abort with if statement
7 years ago
Ivan Chebykin 464ec44b00
Check for next_focus before assert
7 years ago
Ivan Chebykin 6e6b0decd9
Fix usage of sway_assert
7 years ago