337 Commits (0b84d82b9aad05010479140774ac5ee1fea8ea97)

Author SHA1 Message Date
Tamir Zahavi-Brunner 96578aa91e hide_cursor: Add an option to hide when typing
4 years ago
Tudor Brindus ed247c031c input/tablet: add tool_mode option to set tablet tools as relative input
4 years ago
Tudor Brindus 136add4e12 input/cursor: default tablet lens tool to relative motion
4 years ago
Rouven Czerwinski 41999d7c9f cursor: update hide timer during config apply
4 years ago
Rouven Czerwinski 299a159add cursor: arm cursor hide timer immediately
4 years ago
Tudor Brindus 2efecc14ef input/pointer: update cursor activity after updating button counts
4 years ago
Rouven Czerwinski afa890e8e9 input/cursor: reset event source after unhide
4 years ago
Tudor Brindus 6b9a9b6246 input/cursor: don't send wl_pointer.motion event on pointer unlock warp
4 years ago
Simon Ser 5432f00adf config/output: don't change output state before commit
4 years ago
Tudor Brindus d328c2439c input/pointer: don't trigger pointer bindings for emulated input
5 years ago
Tudor Brindus 82c439c4f1 input/cursor: send idle events based off device type, not input type
5 years ago
Tudor Brindus d7900c6e5e common/util: fix `get_current_time_msec` returning microseconds
5 years ago
Thomas Hebb 84ec8f92a6 Use new wlroots API for clearing keyboard/pointer focus during grabs
5 years ago
Tudor Brindus f7e050c58f input/cursor: refactor tablet tool tip events into seatops
5 years ago
Tudor Brindus 6da1631090 input/cursor: rename `simulated_tool_tip_down` to be more accurate
5 years ago
Tudor Brindus 6ea45395c7 input/pointer: send pointer enter event on confine warp
5 years ago
Tudor Brindus d71fed95da input/cursor: keep reference to cursor in constraint
5 years ago
Tudor Brindus 34e0cad9ac input/cursor: fix heap-buffer overflow in constraint set_region
5 years ago
Tudor Brindus 5d13f647f9 input/tablet: add seatop_down entry for tablet input
5 years ago
Tudor Brindus 6f0a0bd385 input/pointer: only warp cursor when the confine region has changed
5 years ago
David96 2473cac32c Implement pointer simulation if client hasn't bound to touch
5 years ago
Tudor Brindus 2262ae60f4 input/cursor: don't apply pointer constraint to emulated tablet input
5 years ago
Tudor Brindus 726d187d3c input/tablet: simplify parameter plumbing for tablet references
5 years ago
David96 e5fed6b246 Don't unhide cursor on touch events
5 years ago
Tudor Brindus 52bd6aecf2 input/cursor: remove erroneous cast for tablet tool button
5 years ago
Tudor Brindus e262f93d0a input: rename pointer handlers to be unambiguous
5 years ago
Tudor Brindus ae3ec745f8 input: refactor tablet motion into seatop handler
5 years ago
Tudor Brindus 9362003cba input/cursor: disambiguate cursor functions from pointer functions
5 years ago
Tudor Brindus 0dc1863dce input/cursor: make cursor rebasing cursor type-agnostic
5 years ago
Tudor Brindus 2913f39dcb input/cursor: release simulated tool tip button when over v2 surface
5 years ago
Tudor Brindus d77247117c input/cursor: correctly transfer focus when using tablet pen
5 years ago
Tudor Brindus 44b2d3ad81 input/cursor: fix hide cursor timeouts on tablets and touchscreens
5 years ago
Tudor Brindus c23182fd7a input/cursor: fix jerky resizing of non-tablet_v2 surfaces
5 years ago
Tudor Brindus d88460f716 input/cursor: correctly send tablet_v2 up event when over non-v2 surface
5 years ago
David96 2b15cf453e Don't transfer focus to NULL node on touch
5 years ago
Aleksei Bavshin 525b48ede7 Adjust focus order to match rendering order of layer shell popups.
5 years ago
Some Chinese Guy 7c44c76989 swapped hiding the cursor and sending a touch event as a more logical sequence
5 years ago
Some Chinese Guy 63e45bf321 switched to setting focus with seat_set_focus
5 years ago
Some Chinese Guy 798fc24081 Added focus following for touch_down
5 years ago
Jason Nader fcd524bb0d sway/input/cursor.c: fix undefined behaviour when event is NULL
5 years ago
Jason Nader 3ed780c783 sway/input/cursor.c: move NULL check to where it should be
5 years ago
Brian Ashworth 1e2a2b0778 input/cursor: handle setting a NULL image surface
5 years ago
Brian Ashworth 897c36b12c input/cursor: handle image surface destroy
5 years ago
Drew DeVault 2f3c6cccf5 Add seat <seat> idle_{inhibit,wake} <sources...>
5 years ago
Benjamin Cheng 2d0f15debb input/cursor: remove gesture listeners in destroy
5 years ago
Benjamin Cheng 9ef026e804 input/cursor: pass gesture events to clients
5 years ago
John Chadwick 7e420cb6e4 input: Add support for tablet protocol.
5 years ago
Drew DeVault cb8f68d74b layer-shell: add support for popups
5 years ago
Brian Ashworth 56b5ad777c input/cursor: do not hide when buttons are pressed
5 years ago
Alex Maese 4d93b96b6e Unhide cursor on cursor activity after touch
6 years ago
Ryan Dwyer 7b9ae42331 Introduce default seatop
6 years ago
Ryan Dwyer fb3475e291 Replace seatup allows_events with button callback
6 years ago
Ryan Dwyer 783b3d6b37 Fix click behaviour
6 years ago
Ryan Dwyer d16845d5f0 Don't send button events to surfaces when dragging or resizing
6 years ago
Ryan Dwyer bdac0df4f8 Allow concurrent clicks
6 years ago
emersion 88b283c557 seat: don't send button release when not pressed
6 years ago
Rouven Czerwinski 4e028dba47 cursor: intitialize sx and sy to zero
6 years ago
Rouven Czerwinski 35d610a43c cursor: remove unused node assignement
6 years ago
emersion 656541bcc4
Update for swaywm/wlroots#1517
6 years ago
Brian Ashworth f078a1ccb8 input/cursor: allow whole-window bindings on ws
6 years ago
Brian Ashworth d3d7956576 Handle NULL from output_get_active_workspace
6 years ago
Vincent Vanlaer cfacf85755 Check layout before getting pointer surface coords
6 years ago
Brian Ashworth 1bccde68a4 cursor: relative-pointer-v1 time is usec
6 years ago
emersion 97c89b24b8
Rebase cursor when a layer surface maps
6 years ago
Drew DeVault a1a99421a1
Merge pull request #3562 from vilhalmer/focus_follows_mouse-workspace-last-inactive
6 years ago
vilhalmer f8a9117149
Fall back to wildcard in sway_cursor_constrain
6 years ago
vilhalmer 907595b10d
Skip constraining cursor if no seat config
6 years ago
vilhalmer a3332c70bf
Focus ws inactive node with focus_follows_mouse
6 years ago
Drew DeVault de76c4e071
Merge pull request #3543 from emersion/relative-pointer-usec
6 years ago
Brian Ashworth ebe5399ed6 pointer_constraint: change to a seat subcommand
6 years ago
emersion dde9fc19de
relative-pointer-v1: time is in usec, not msec
6 years ago
Drew DeVault 0c975af1fb Send pointer frames on tool events
6 years ago
Drew DeVault 4b87edeba4 Missed a spot in pointer constraints
6 years ago
Drew DeVault a6d41254c9 Add pointer_constraint command
6 years ago
absrd ee4b8a3938 Add relative pointer
6 years ago
Las cedde21c96 Implement pointer-constraints-unstable-v1
6 years ago
Drew DeVault 783fadab28
Merge pull request #3423 from RyanDwyer/fullscreen-global
6 years ago
emersion a452f8f822
Update for swaywm/wlroots#1503
6 years ago
Ryan Dwyer 20aa8ee67d Implement fullscreen global
6 years ago
M Stoeckl 1211a81aad Replace wlr_log with sway_log
6 years ago
emersion 3b7a7462a2 Fix crash in cursor_rebase with multiple screens
6 years ago
Brian Ashworth 02bbefda20 bar_cmd_tray_bind: Use mouse button helpers
6 years ago
Rouven Czerwinski f7309778a7 cursor: send clear_focus on hide and enter event on unhide
6 years ago
Drew DeVault 9f9ef76175
Merge pull request #3343 from RedSoxFan/seat-cursor-buttons-improved
6 years ago
Drew DeVault db1631b67d
Merge pull request #3342 from RedSoxFan/scroll-buttons-improved
6 years ago
Brian Ashworth 4e6bd53abf input_cmd_scroll_button: utilize mouse btn helpers
6 years ago
Brian Ashworth aa1c838f97 seat_cmd_cursor: utilize mouse button helpers
6 years ago
Ryan Dwyer ed5aafd90b Refactor seat operations to use an interface
6 years ago
Ian Fan 15ac580b28
Merge pull request #3341 from RedSoxFan/mouse-bindings-improved
6 years ago
emersion 9abac85888
Merge pull request #3399 from RedSoxFan/fix-output-destruction-segfaults
6 years ago
Brian Ashworth 8fd3f32c79 Fix segfaults on output destruction
6 years ago
Brian Ashworth a8b3ae9284 cursor: allow scrolling tabs/stack on title border
6 years ago
Brian Ashworth 6f6a9af60e Add helpers for improved mouse button parsing
6 years ago
Jan Beich 0a4c4f3e52 Simplify evdev includes on FreeBSD by relying on up-to-date package
6 years ago
Rouven Czerwinski fde900861a cursor: move unhide and timeout retrieval into separate functions
6 years ago
David96 ee50134634 Apply tiling_drag_threshold to all containers
6 years ago
Brian Ashworth 5bf4daf263 Implement tiling_drag_threshold
6 years ago
Brian Ashworth 4d88c95790 hide_cursor: change to a seat subcommand
6 years ago
Brian Ashworth 0dbf2673a1 Remove button from state on release during op
6 years ago
Brian Ashworth 3248c823ed Split image_surface handling into own function
6 years ago