801 Commits (b4d7e84d3852ea93d2aab22f5993f84a7060b950)

Author SHA1 Message Date
Tadeo Kondrak c88f7ad1d0 text_input: Only send surrounding_text and content_type if supported
4 years ago
Tadeo Kondrak b0e8f4ade2 text_input: Ignore text_input disable from unfocused windows
4 years ago
Kenny Levinsen 31a01bb80d input: Commit transactions in seatop_default
4 years ago
Kenny Levinsen b5b628cb41 input: Only commit transactions when necessary
4 years ago
Andri Yngvason 9ef5cc03f1 input/seat: Reset command handler context in seat_destroy()
4 years ago
Andri Yngvason e11bc058ac input/seat: Clean up focus_stack in seat_destroy()
4 years ago
Andri Yngvason 98eece53ad input: Clean up input_method_relay in seat_destoy()
4 years ago
Ronan Pigott ece6a1d408 Change workspace_layout to match i3 behavior
4 years ago
Tudor Brindus cc2c0d5966 input/cursor: unhide cursor on synthetic input
4 years ago
Brian Ashworth 9d6787d10d input/keyboard: fix Group# bindings for keyboard groups
4 years ago
Tudor Brindus 07042486c3 tree/container: introduce `container_is_sticky[_or_child]` functions
4 years ago
Simon Ser a56098a24e
Add missing includes for wlr_input_device.h
4 years ago
Simon Ser bb342ac5e6
Replace wlr_key_state with wl_keyboard_key_state
4 years ago
Tudor Brindus 0df5753aed input/seatop_default: consider fullscreen views to have no edges
4 years ago
Tudor Brindus c523aa623b input: fully change focus when scrolling tabs/stacks
4 years ago
Tudor Brindus 60d95414d4 commands/focus: force container warp when fulfilling `focus mode_toggle`
4 years ago
Tudor Brindus 8c12e71a66 input: remove motion deltas from seatop callbacks
4 years ago
Tamir Zahavi-Brunner 96578aa91e hide_cursor: Add an option to hide when typing
4 years ago
Ronan Pigott 9e272a7986 tiling_resize: abandon resize if a sibling con dies
4 years ago
Ronan Pigott 33affb33d2 tiling_drag: emit window move ipc events
4 years ago
Ronan Pigott 5bcbc0b4a9 seat: use default output mapping if there is no input config
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
David96 c150177a94 Make focus_follows_mouse work when hovering a layer-shell surface on another output
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
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