199 Commits (48d6eda3cb0f79d2190756af44f01d028696bf0e)

Author SHA1 Message Date
xdavidwu 5886187c6e Port input method and text input from rootston
5 years ago
Michael Weiser eeac0aa170 input: Add support for keyboard shortcuts inhibit
5 years ago
Torstein Husebø af294289b1 treewide: fix typos
5 years ago
Brian Ashworth 897c36b12c input/cursor: handle image surface destroy
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
Drew DeVault 2f3c6cccf5 Add seat <seat> idle_{inhibit,wake} <sources...>
5 years ago
Benjamin Cheng 9ef026e804 input/cursor: pass gesture events to clients
5 years ago
Brian Ashworth 5d882cb5fc Add support for wlr_keyboard_group
5 years ago
John Chadwick 7e420cb6e4 input: Add support for tablet protocol.
5 years ago
Brian Ashworth 384afc5cb5 input/keyboard: send released only if pressed sent
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
Brian Ashworth 152e30c374 cmd_bindswitch: add option to execute on reload
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
Brian Ashworth 23c64ab22d input/keyboard: attempt default keymap on failure
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
Ryan Walklin bdb402404c Support WLR_INPUT_DEVICE_SWITCH in sway
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 d16845d5f0 Don't send button events to surfaces when dragging or resizing
6 years ago
emersion 88b283c557 seat: don't send button release when not pressed
6 years ago
emersion 656541bcc4
Update for swaywm/wlroots#1517
6 years ago
emersion 97c89b24b8
Rebase cursor when a layer surface maps
6 years ago
Brian Ashworth 7299b9a6ca seat_cmd_cursor: do not create non-existing seat
6 years ago
Las cedde21c96 Implement pointer-constraints-unstable-v1
6 years ago
emersion a452f8f822
Update for swaywm/wlroots#1503
6 years ago
emersion 75406bb93b Update for swaywm/wlroots#1402
6 years ago
M Stoeckl d7ff776552 Move sway-specific functions in common/util.c into sway/
6 years ago
Brian Ashworth 02bbefda20 bar_cmd_tray_bind: Use mouse button helpers
6 years ago
Brian Ashworth 2573606b60 Disarm key repeat on reload
6 years ago
Drew DeVault 9f9ef76175
Merge pull request #3343 from RedSoxFan/seat-cursor-buttons-improved
6 years ago
Drew DeVault 23ab56bbf7
Merge pull request #3402 from RyanDwyer/refactor-seatops
6 years ago
Drew DeVault 08569aab36
Merge pull request #3388 from RedSoxFan/reset-inputs-on-reload
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
Brian Ashworth 6f6a9af60e Add helpers for improved mouse button parsing
6 years ago
Brian Ashworth 4696f49ecc reload: reset input configs
6 years ago
Rouven Czerwinski fde900861a cursor: move unhide and timeout retrieval into separate functions
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 09bb71f650 Verify seat fallback settings on reload
6 years ago
Brian Ashworth 3248c823ed Split image_surface handling into own function
6 years ago
Brian Ashworth 5fca74a1f1 Implement hide_cursor <timeout> command
6 years ago
Brian Ashworth a223030b70 Change mouse buttons to x11 map and libevdev names
6 years ago
Franklin "Snaipe" Mathieu f8e83ee20a binding: match single-key bindings if no multi-key binding matched
6 years ago
Ryan Dwyer c5a6c37275 Make workspace back_and_forth seat-specific
6 years ago
Ryan Dwyer c006717910 Minor refactor of input manager
6 years ago
Ryan Dwyer 9ea71f292b Introduce cursor_rebase
6 years ago
Ryan Dwyer 4d743b64d0 Fix logic used for mouse_warping output
6 years ago
Drew DeVault 96e3686ae8
Merge pull request #2875 from RedSoxFan/input-device-bindings
6 years ago
Ryan Dwyer a2fdac2c4b Consider cursor warp when switching workspaces
6 years ago
Brian Ashworth 2e637b7368 cmd_bind{sym,code}: Implement per-device bindings
6 years ago
Ryan Dwyer 24a90e5d86 Remove cursor warping from seat_set_focus
6 years ago
Drew DeVault 765c80e5f7
Merge pull request #2820 from Emantor/fix-mouse-warping-container
6 years ago
Rouven Czerwinski 0969bf758b cursor: functions to warp cursor to container and workspace
6 years ago
Ryan Dwyer 05284b65db Prevent duplicate workspace::focus events
6 years ago
Ryan Dwyer 26278b694c Introduce seat_set_raw_focus and remove notify argument from seat_set_focus_warp
6 years ago
Jonathan Buch 7727d54faf
Fix focusing topmost floating windows
6 years ago
Ryan Dwyer f6e218a643 Rename seat_get_active_child to seat_get_active_tiling_child
6 years ago
emersion 7699c5444c Update for swaywm/wlroots#1243
6 years ago
Ryan Dwyer 8bb40c24c7 Implement tiling drag
6 years ago
Ryan Dwyer d4e80cf301 Rename OP_MOVE to OP_MOVE_FLOATING
6 years ago
Ryan Dwyer 908095ef9a Introduce seat_set_focus_container and seat_set_focus_workspace
6 years ago
Ryan Dwyer 7586f150c0 Implement type safe arguments and demote sway_container
6 years ago
Ryan Dwyer 07a897b3b7 Don't send motion if the cursor hasn't moved
6 years ago
Ryan Dwyer b637b61a7a Rename mousedown to down and make seat operation a named enum
6 years ago
Ryan Dwyer a36625a482 Implement mousedown operation
6 years ago
Ryan Dwyer 3a888163a0 Refactor seat_get_focus functions
6 years ago
Ryan Dwyer b4a0363d17 Implement resizing tiled containers via cursor
6 years ago
Ian Fan 03eaf444a4 ipc: prevent emitting a workspace::focus event when moving a container to a different workspace or output
6 years ago
frsfnrrg 8dbbfa5965 Bindings use advised keyboard repeat parameters
6 years ago
frsfnrrg e33dfbfa75 Implement key repeat for pressed key bindings
6 years ago
Drew DeVault 1e65439a54 Add virtual keyboard protocol
6 years ago
Ryan Dwyer da2a87f6c7 When unfloating, return container to previously focused tiled container
6 years ago
frsfnrrg 94dd8823a0 Invoke mouse bindings
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 9fbe13b9be Implement floating_modifier and mouse operations for floating views
6 years ago
emersion 747725b8bb Don't unfocus when an override redirect window is mapped
6 years ago
Ryan Dwyer a120d4c79f Make focus part of transactions
6 years ago
Ryan Dwyer 32b865e610 Fix crash when deleting last child in a tabbed or stacked container
7 years ago
frsfnrrg ca061ba8bf Fix keyboard shortcut handling inconsistencies
7 years ago
emersion cfd02918c0
Render drag icons
7 years ago
frsfnrrg c664d780cc Comment to explain sway_shortcut_state lists
7 years ago
frsfnrrg a056419ad7 Rewrite shortcut handling code to avoid hardcoded values
7 years ago
Scott Leggett 1b8de39287 Move previous cursor_position inline.
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
Ryan Dwyer efc07fb3d4 Don't track damage for views on inactive tabs
7 years ago
Brian Ashworth 82cd55a670 Fix border commands from changing focus
7 years ago
emersion 4cf77e1de4
Default to current time when triggering cursor events
7 years ago
Danny Bautista c355d680e9 Clean up cursor simulation code.
7 years ago
Danny Bautista 1edb2bd892 Implement cursor event simulation with sway commands.
7 years ago
Drew DeVault 07b6be6214
Merge pull request #1769 from acrisci/focus-inactive-fixes
7 years ago
Tony Crisci e7771c507a 80char
7 years ago