835 Commits (32e5e5232d1b0b5a34b4296a79a4e8cfa32b5090)

Author SHA1 Message Date
Daniel De Graaf a7898637de Avoid inspecting a NULL view in seat_set_focus
3 years ago
Daniel De Graaf 519038a7e9 Implement ext-session-lock-v1
3 years ago
Leonardo Hernández Hernández 6c4c0387a2 sway/input: wlr_seat_keyboard() now takes wlr_keyboard
3 years ago
Leonardo Hernández Hernández ca016689a0 sway/input: fix bad position of wlr_drag
3 years ago
Simon Zeni 440d0bc22d sway/input: follow up wlroots input device events renaming
3 years ago
Simon Zeni 49b3ac9a2c sway/input/seat: take output name from specialized input device
3 years ago
Simon Zeni 0345148ea6 sway/input/cursor: take device mm size from wlr_tablet
3 years ago
Simon Ser 04676936e7 Remove WLR_SWITCH_STATE_TOGGLE usage
3 years ago
Moon Sungjoon 3444ce7302 sway/input: destroy sway_switch properly
3 years ago
Alexander Gramiak d6f279902a sway/input: don't pass possibly invalid modifiers pointer
3 years ago
Thomas Hebb b38b845c63 Remove some erroneous apostrophes in comments
3 years ago
Simon Zeni 85d1c98476 sway/input: use wlr_input_device from input device base
3 years ago
Tudor Brindus 8ca2847b42 input/cursor: pass through pointer hold gestures
3 years ago
Tudor Brindus 7d1ccafae5 input/cursor: treat swipe begin as idle activity too
3 years ago
Tudor Brindus fd53f80156 input/cursor: count pointer gestures as idle activity
3 years ago
Thomas Hebb 921b0a8633 input/seat: unset has_focus when focus_stack becomes empty
3 years ago
RoastVeg f2b6d1ec29 Handle border width and height on minimum floating sizes
3 years ago
Rasmus Moorats aaf68cf423 fix cursor input for layer-shell surfaces
3 years ago
siikamiika f4db502d44 use node_is_view
3 years ago
Jari Ronkainen 624ffa4516 Improve built-in touchscreen detection
3 years ago
Simon Plakolb 4baf845a3a seatop_down: End if surface is destroyed or other seatop starts
3 years ago
Simon Plakolb 9e58425cb3 input: Use seatop_down on layer surface click
3 years ago
David Rosca d0fe721fbb seatop_down: Change type of sx, sy to double in begin_seatop_down
3 years ago
Simon Ser 2e03a61262 Fix wl_pointer.frame not sent on touch emulation
3 years ago
Simon Ser 7114030159 Add support for touch frame events
4 years ago
Simon Ser 4832fc937f Update wlr_box includes
4 years ago
Kenny Levinsen 80315217f7 input: Move get_current_time_msec in from util
4 years ago
tomKPZ f9a5c18c93 Add tab dragging functionality
4 years ago
xdavidwu e5913f8106
Implement input method keyboard grab
4 years ago
lbonn c6e7cf1ae5 focus: beyond fullscreen when focused explicitly
4 years ago
Simon Ser eea9c6331f Automatically map built-in touchscreens/tablets to built-in panels
4 years ago
Kenny Levinsen a047b5ee4a container: Move pending state to state struct
4 years ago
David96 28cadf5580 Add missing transaction commits to seatop_default
4 years ago
Tadeo Kondrak 42cbaf278c text_input: Add support for focusing layer-shell surfaces
4 years ago
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
5 years ago
Ronan Pigott 39d677af15 input: implement xdg_toplevel interactive resize hints
5 years ago
Simon Ser 5432f00adf config/output: don't change output state before commit
5 years ago
Nick Diego Yamane e5954f321f seat/dnd: support null drag icon surfaces
5 years ago
wb9688 17ff13fc84 Replace unprintable characters in input device id
5 years ago
Simon Ser dfccd2a4c4 Don't set xwayland cursor when wlr_xwayland failed
5 years ago
Simon Ser 1bfbf262cc seat: fix segfault in sway_input_method_relay_set_focus
5 years ago
Kenny Levinsen 492267a5d6 seat: Refocus seat when wlr_drag is destroyed
5 years ago
Tudor Brindus c822427091 input/pointer: correctly handle bindings for synthetic events
5 years ago
Tudor Brindus 2270b4c213 input/seat: don't notify keyboard grabs with NULL surface on shutdown
5 years ago
Tudor Brindus b3f08597cd input: disable events for map_to_output devices when output not present
5 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