823 Commits (3ef5abd405a6fd32aeeffb2f48a6cadd9fc14574)

Author SHA1 Message Date
Brian Ashworth 2ea5d2985a input/libinput: remove input type property bias
4 years ago
Antonin Décimo bbf7b92fe4 Fix incorrect format specifiers
4 years ago
Tudor Brindus 6b9a9b6246 input/cursor: don't send wl_pointer.motion event on pointer unlock warp
4 years ago
Ronan Pigott 39d677af15 input: implement xdg_toplevel interactive resize hints
4 years ago
Simon Ser 5432f00adf config/output: don't change output state before commit
4 years ago
Nick Diego Yamane e5954f321f seat/dnd: support null drag icon surfaces
4 years ago
wb9688 17ff13fc84 Replace unprintable characters in input device id
4 years ago
Simon Ser dfccd2a4c4 Don't set xwayland cursor when wlr_xwayland failed
4 years ago
Simon Ser 1bfbf262cc seat: fix segfault in sway_input_method_relay_set_focus
4 years ago
Kenny Levinsen 492267a5d6 seat: Refocus seat when wlr_drag is destroyed
4 years ago
Tudor Brindus c822427091 input/pointer: correctly handle bindings for synthetic events
4 years ago
Tudor Brindus 2270b4c213 input/seat: don't notify keyboard grabs with NULL surface on shutdown
4 years ago
Tudor Brindus b3f08597cd input: disable events for map_to_output devices when output not present
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 8fa74add82 input/pointer: don't trigger pointer bindings for emulated input
5 years ago
Tudor Brindus 20deb8ec16 input/tablet: focus appropriate node on tip down
5 years ago
Brian Ashworth 33aa59d4c6 input/keyboard: wlr_keyboard_group enter and leave
5 years ago
Tudor Brindus 14e887bc3d input: tweak resize behavior to not change tab focus on border click
5 years ago
Tudor Brindus ce494a5811 input/tablet: allow moving tiling tablet v2 surfaces by pen input
5 years ago
Tudor Brindus 7dec1f8398 input/tablet: allow moving floating tablet v2 surfaces by pen input
5 years ago
Tudor Brindus 53dc83fb68 tree/container: introduce `container_toplevel_ancestor` helper
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
Brian Ashworth 5c32a48453 input: fix reloading crash due to keyboard group configuring
5 years ago
Brian Ashworth 975b8a90ad input: reset keyboard groups keyboard on reset all
5 years ago
Michael Weiser 0f11aa037a commands: Add per-view shortcuts_inhibitor command
5 years ago
David96 2473cac32c Implement pointer simulation if client hasn't bound to touch
5 years ago
Adam Kürthy 7a294b2668 Really fix floating window border resize problems
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
Tudor Brindus 7c37e9d01e input/keyboard: use wlr_keyboard_keymaps_match from wlroots
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
Simon Ser 6021fc4a08 Fix invisible cursor on startup
5 years ago
Simon Ser f55de073c2 Don't assert the cursor theme loads
5 years ago
Tudor Brindus 2913f39dcb input/cursor: release simulated tool tip button when over v2 surface
5 years ago
Nick Diego Yamane 091f580b7c input/seatop_default: properly notify pointer leave
5 years ago
Tudor Brindus a5c26e6a05 input/tablet: query tablet focused surface for cursor image check
5 years ago
Tudor Brindus d77247117c input/cursor: correctly transfer focus when using tablet pen
5 years ago
Tudor Brindus 3de1a3958e config/output: reconfigure input devices on new output
5 years ago
Adam Kürthy 65302093cf Take window borders into account when resizing floating windows
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
Rouven Czerwinski 0efc28e2f5 input/seatop_default: release on empty workspace
5 years ago
Di Ma 2bece94b9b Fix a use-after-free error in switch binding
5 years ago
Di Ma c1c2fe04bb Fix a use-after-free error in switch binding
5 years ago
Di Ma a3e574f63f Fix a use-after-free error in switch binding
5 years ago
Andri Yngvason b18d943442 input: keyboard: Never group virtual keyboards.
5 years ago
Andri Yngvason 46599df0a2 input: Mark virtual devices as such
5 years ago
Aleksei Bavshin 525b48ede7 Adjust focus order to match rendering order of layer shell popups.
5 years ago
Leo 3c96a1d374 im: Fix crash when im destorying and no focused surface exists
5 years ago
xdavidwu e6805ce6e9 im: remove listener on pending surface destoryed
5 years ago
xdavidwu 4e1e5e4e33 im: make text-input listeners per text-input
5 years ago
xdavidwu 9d455b48e4 input-method: avoid and log unneeded set_focus
5 years ago
xdavidwu 1241b42c88 input-method: remove surface listener before set
5 years ago
xdavidwu 5886187c6e Port input method and text input from rootston
5 years ago
Some Chinese Guy 7c44c76989 swapped hiding the cursor and sending a touch event as a more logical sequence
5 years ago
Linus Heckemann df48c48123 add --no-repeat option for bindings
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
Leo 0b9feb6f39 Fix redundant call to seat_send_focus()
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
Olivier Fourdan 7dd9cd29a6 input: Avoid creating the PAD device multiple times
5 years ago
Michael Weiser 3ee5aace33 commands: Add shortcuts_inhibitor command
5 years ago
Michael Weiser eeac0aa170 input: Add support for keyboard shortcuts inhibit
5 years ago
Andri Yngvason 803e89018a input: Map virtual-pointer to the requested output
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
Andri Yngvason d510684c47 input: Assign virtual input devices to their selected seats
5 years ago
Josef Gajdusek f501a60c14 Add virtual pointer protocol
5 years ago
Brian Ashworth 452a615bb8 seat_cmd_keyboard_grouping: change keymap to smart
5 years ago
Brian Ashworth 2b51c5b294 input/seatop_default: fix focusing floating titles
5 years ago
Brian Ashworth f9ce8749dc input/keyboard: defer wlr_keyboard_group destroy
5 years ago
Brian Ashworth f365ffef34 input/keyboard: remove group listeners on 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
Brian Ashworth 0cdad33f1a input/keyboard: reset seat keyboard on destroy
5 years ago
Brian Ashworth 1a5797803a config: improvements to the reload validation
5 years ago
Brian Ashworth 90e3d25009 input/keyboard: check keyboard group before remove
5 years ago
Paul Riou 3334d11adc input: seat: Fix seat device list not initialised before use
5 years ago
Brian Ashworth 5d882cb5fc Add support for wlr_keyboard_group
5 years ago
Brian Ashworth 66725f2e27 input/keyboard: cleanup xkb_file error handing
5 years ago
Tadeo Kondrak 7f54495b5e Use an enum instead of a marker string for map_to_
5 years ago
Tadeo Kondrak 4829f1c26a Implement input map_to_region command
5 years ago
Ronan Pigott 37afbc4dbc seatop_default: handle focus for unmanaged xwayland windows last
5 years ago
Ronan Pigott eaee087c17 seatop_default: handle focus for xwayland_unmanaged views
5 years ago
Ronan Pigott d159b98744 seatop_move_floating: make container respect pointer constraint
5 years ago
lbonn 32caabc7a1 seat: simplify a strdup
5 years ago
Kirill Chibisov 43bd8dc437 Fix tiled containers resize with mouse
5 years ago
Drew DeVault d19f4f7bf8 Updates per wlroots layer shell changes
5 years ago
John Chadwick 7e420cb6e4 input: Add support for tablet protocol.
5 years ago
Versus Void 2c1a11016c Do not search for edges on subsurfaces, fix #4381
5 years ago
Brian Ashworth 187306640b seatop_default: only focus container on press
5 years ago
Simon Ser 53e01bf5c7 layer-shell: don't give focus to unmapped layer surfaces
5 years ago
xdavidwu 07d7af593d seat: set cursor image only if no pointer cap previously
5 years ago
xdavidwu afde6369b8 seat: avoid unneeded reloading xcursor theme
5 years ago
Brian Ashworth 384afc5cb5 input/keyboard: send released only if pressed sent
5 years ago
Brian Ashworth 8441711990 input/seatop_down: add axis handler
5 years ago
Drew DeVault cb8f68d74b layer-shell: add support for popups
5 years ago
Brian Ashworth 3e33e1c76f handle_seat_node_destroy: do not focus own node
5 years ago
Antonin Décimo 813e120979 Remove redundant checks
5 years ago
Antonin Décimo 9be76e6b12 input: check pointer against nullptr
5 years ago
Brian Ashworth 56b5ad777c input/cursor: do not hide when buttons are pressed
5 years ago
Brian Ashworth 90d8a4df32 input/libinput: typo fixes (get -> get_default)
5 years ago
Brian Ashworth 8ee054b1b9 bindsym/code: add group support
5 years ago
Brian Ashworth 14562fdbee input/keyboard: don't reset layout for same keymap
5 years ago
Brian Ashworth 75de31d36e libinput: fix set_send_events
5 years ago
Brian Ashworth fc955716d4 input/libinput: fix typo in set_middle_emulation
5 years ago
Brian Ashworth 1a16262903 ipc: add input::libinput_config event
5 years ago
Brian Ashworth 6effca7b61 ipc: add an input event
5 years ago
Ed Younis eb770e88b7 Implement input_cmd_xkb_file (#3999)
5 years ago
Pedro Côrte-Real e3a3917d3a Layout tiled using a width/height fraction
5 years ago
Brian Ashworth 32265d9136 input/libinput: only reset supported options
5 years ago
Brian Ashworth 152e30c374 cmd_bindswitch: add option to execute on reload
5 years ago
Sebastian Parborg 538b36c0e2 Make mouse drag in tiled mode swap containers if no edge is selected
5 years ago
Sergei Dolgov 01ec18e802 Add calibration_matrix config option
5 years ago
Brian Ashworth 9670ccee68 bindings: defer while initiailizing
6 years ago
Brian Ashworth be2d2a299a commands/input: perform basic keymap validation
6 years ago
Alex Maese 4d93b96b6e Unhide cursor on cursor activity after touch
6 years ago
Aidan Harris f17eae9043 Fix segfault with "xwayland false" (#4228)
6 years ago
Daniel Eklöf 190546fd31 add seat sub command 'xcursor_theme'
6 years ago
Brian Ashworth 6afb392823 bindings: allow unlocked and locked bindings
6 years ago
Brian Ashworth de5cfa7232 input/switch: fix indentation of file
6 years ago
Brian Ashworth 23c64ab22d input/keyboard: attempt default keymap on failure
6 years ago
Alex Maese 3b3e0560be Fix a silly mistake
6 years ago
Alex Maese 5b454ac441 Don't send pointer motion when rebasing the cursor
6 years ago
Alex Maese 866a19b743 Clear pointer focus during move and resize seatops
6 years ago
Konstantin Pospelov c42497aca0 bindsym: change xkb_rule_names initialization
6 years ago
Konstantin Pospelov ddf63ffabe bindsym: consider xkb_rule_names for --to-code
6 years ago
Brian Ashworth 59d9a991b4 ipc: fix criteria for emitting bar_state_update
6 years ago
Benjamin Cheng bd3720585e Implement input type configs (#3784)
6 years ago
Benjamin Cheng 6737b90cb9 Add heuristics to differentiate touchpads
6 years ago
Brian Ashworth 69a1a0ff99 Fix scratchpad fullscreen behavior and crash
6 years ago
Ashkan Kiani 913445e112 Fix potential null accesses
6 years ago
Ryan Dwyer 2cae0d5e3a Fix null pointer crash when doing tiling drag
6 years ago
Ryan Walklin bdb402404c Support WLR_INPUT_DEVICE_SWITCH in sway
6 years ago
Ryan Dwyer bfa20e65d8 Clean up focus follows mouse logic
6 years ago
Ryan Dwyer e9a476244d Remove debug tree
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
Brian Ashworth d8f74e4706 Set prev_workspace_name based off of focus
6 years ago
emersion 076257a978 Stop using wlr_output->{lx,ly}
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
Ben Challenor 30931ad9e7
Make raw keysyms take precedence over translated
6 years ago
emersion 191305468c Fix crash in cmd_workspace when layer surface has focus
6 years ago
Jeff Peeler a73e8f1328 fix "directive argument is null" errors
6 years ago
Ryan Dwyer bdac0df4f8 Allow concurrent clicks
6 years ago
Brian Ashworth 430359519c floating_maximum_size: change default behavior
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 9350a52c0e handle_seat_node_destroy: update seat->workspace
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
emersion 59f2056022
Fix drag icon map listener not removed
6 years ago
Vincent Vanlaer cfacf85755 Check layout before getting pointer surface coords
6 years ago
Brian Ashworth e8c472aee9 seatop_move_tiling: do not move to descendant
6 years ago
Brian Ashworth ab42874f71 seat: allow tree focus changes while layer focused
6 years ago
Brian Ashworth 9b8249c350 seatop_move_tiling: use tab/stack parent not self
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
Brian Ashworth 3952d4f4f3 input/keyboard: respect solo repeat_{rate,delay}
6 years ago
Brian Ashworth f5190d1f79 bar_cmd_modifier: add support for none
6 years ago
Brian Ashworth ec5da0ca5b seat_configure_tablet_tool: configure xcursor
6 years ago
Drew DeVault a1a99421a1
Merge pull request #3562 from vilhalmer/focus_follows_mouse-workspace-last-inactive
6 years ago
Brian Ashworth 7299b9a6ca seat_cmd_cursor: do not create non-existing seat
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
Ian Fan 5d6f906bd7 Use sway_log_errno instead of strerror
6 years ago
emersion 75406bb93b Update for swaywm/wlroots#1402
6 years ago