Victoria Brekenfeld
e116f20396
stack: Remember previous position during focus navigation
2025-03-05 18:24:28 +01:00
Victoria Brekenfeld
b92879e60b
zoom: Fix config/state changes
2025-02-20 23:51:55 +01:00
Victoria Brekenfeld
f72d2b91f3
shell: Add zoom UI
2025-02-20 23:51:55 +01:00
Victoria Brekenfeld
e0530d2723
input: Refactor common logic into update_zoom
2025-02-20 23:51:55 +01:00
Victoria Brekenfeld
b7d4a66c22
input: Zoom on Super+Scroll
2025-02-20 23:51:55 +01:00
Victoria Brekenfeld
58f96e6f4a
config: Read/store zoom state
2025-02-20 23:51:55 +01:00
Victoria Brekenfeld
531a1c951f
zoom: Handle multiple outputs
2025-02-20 23:51:55 +01:00
Victoria Brekenfeld
61d44b3a9d
utils: Move NextDown
2025-02-20 23:51:55 +01:00
Victoria Brekenfeld
c01de20b2b
shell: Allow triggering zoom
2025-02-20 23:51:55 +01:00
Daniel
2553810621
grabs: Snap Window Edges to Close Output Edges
2025-02-14 11:58:09 +01:00
Paul Daniel Faria
f1f9d205be
Make numlock state on boot configurable
...
Make numlock state on boot configurable
This will expose 3 settings for numlock behavior:
1. Numlock is off on boot (this is the current default behavior)
2. Numlock is on on boot
3. Numlock will restore the state from the last boot
Fixes #369
* Address comments:
Get keyboard after create_seat called rather than returning from
create_seat.
Use constants rather than magic numbers for keypress.
Only save updated modifier state after keypresses are handled/skipped.
* Remove unused import, fold other into existing use block.
2025-02-12 14:35:22 +01:00
Joe Neeman
38366700de
Only cancel the keyboard grabs that we initiate
2025-01-17 15:49:13 +01:00
Ian Douglas Scott
b685512127
Migrate away from Rectangle::from_loc_and_size
...
Deprecated in `smithay` by https://github.com/Smithay/smithay/pull/1621 .
2025-01-07 12:50:35 +01:00
Victoria Brekenfeld
db13eea91c
shell: Allow active workspace to be None
2025-01-06 20:23:05 +01:00
Paul Daniel Faria
e5263bbad8
Update leds when devices are added
...
This fixes #1104
LEDs on keyboard will now update to match the
compositor state when they're plugged in.
2025-01-06 12:13:51 +01:00
Ian Douglas Scott
e3b41c5c55
input: Apply output transform to touch/tablet events
2024-12-02 19:50:05 +01:00
Ian Douglas Scott
eaeca9a244
input: Define function for transforming touch/tablet event position
2024-12-02 19:50:05 +01:00
Ian Douglas Scott
90883c6ab1
Add cosmic_atspi_v1 protocol
...
Used to provide a backend for `AtspiDevice` in `at-spi2-core`, so Orca
keybindings can work.
2024-10-31 18:49:56 +01:00
Ian Douglas Scott
ea27ec5e28
DPMS with wlr-output-power-management-unstable-v1 protocol
2024-10-25 10:31:24 +02:00
Victoria Brekenfeld
0092dac08c
input: Use render_input_order
2024-10-22 19:43:47 +02:00
Victoria Brekenfeld
07bd8bedef
input: Treat pointer-shortcuts as potentially inhibited
2024-10-07 20:50:32 +02:00
Ian Douglas Scott
d7ca0324c5
Remove needs_key_repetition argument
...
Not supressing key repetition in backends seems like it was a bug, and
should be fixed as of https://github.com/Smithay/smithay/pull/1535 .
So an argument for this should be unnecessary now.
2024-09-19 16:23:25 +02:00
Ian Douglas Scott
6d017225e4
Move handling of keyboard swap action to a seperate function
2024-09-19 16:23:25 +02:00
Ian Douglas Scott
96c931a0c3
Split off KeyboardHandle::filter callback to separate method
...
This saves 7 levels of indentation, which seems like a plus.
The `InputEvent::Keyboard` branch of the `match` now fits clearly in one
screen. The `filter_keyboard_input()` method could probably still be
broken up more.
The method needs a few arguments, but it seems nice to make what it
depends on explicit.
2024-09-19 16:23:25 +02:00
Ian Douglas Scott
d02aecce61
Use .modified_sym() instead of casting keycode to keysym
...
Not sure if this is actually used, and if so the code may need more
testing, but this definitely is more correct, at least.
2024-09-19 16:23:25 +02:00
Victoria Brekenfeld
4d215755f6
shell: Fix incomplete focus_stack after swapping
2024-09-10 21:10:02 +02:00
Victoria Brekenfeld
03430b76c5
shell: Allow moving groups between outputs
2024-09-10 20:51:08 +02:00
Victoria Brekenfeld
0d048b1a8e
input: Fix focus_follows_cursor across outputs
2024-09-09 20:12:10 +02:00
Victoria Brekenfeld
b85b8fc7eb
input: Fix passed button events
2024-09-09 20:01:59 +02:00
Victoria Brekenfeld
5006eae60b
actions: Fix focus on Output-actions
2024-09-09 20:01:42 +02:00
Victoria Brekenfeld
932c204de4
input: Move actions into own module
2024-09-09 16:39:20 +02:00
skewballfox
7da0bc430a
added cursor_follows_focus and focus_follows_cursor
2024-09-04 20:22:40 +02:00
julianbraha
52280e9823
Remove unnecessary casting
2024-09-03 16:08:17 +02:00
Victoria Brekenfeld
c9220a7acc
chore: Update smithay
2024-09-02 18:58:13 +02:00
pknepps
09b34bb40e
Natural scrolling turned off will now turn off natural scrolling for 4-finger gestures
2024-08-30 17:19:02 +02:00
João Capucho
66695482d0
Don't pass pointer button events to client when moving or resizing
2024-08-23 17:18:39 +02:00
João Capucho
3c24934f48
Track if a move or resize request is client initiated
2024-08-23 17:18:39 +02:00
Ian Douglas Scott
3625454420
Use monotonic time instead of 0 for motion events
...
Update to https://github.com/Smithay/smithay/pull/1509 , and adopt a
similar change.
2024-08-22 07:22:44 -06:00
Daniel
e01a55aae7
input: resize on Super + Right-Click Drag
2024-08-01 19:50:28 +02:00
Victoria Brekenfeld
af553a16a6
input: Send modifiers of modifier-only bindings to clients
2024-07-29 23:33:55 +02:00
Victoria Brekenfeld
6c517bd8de
input: Also focus a window on click, if the super key is held
2024-07-29 21:52:19 +02:00
Ashley Wulber
4f043133bc
fix: intercept modifiere press for shortcut with no key
2024-07-23 16:12:31 +02:00
Ashley Wulber
f406bf33ae
fix: only suppress keys when an action is on press
...
Actions which are on releasedon't have anything to suppress, and end up suppressing the next release.
2024-07-23 16:12:31 +02:00
Victoria Brekenfeld
0a97147e45
input: Don't intercept disabled actions
2024-07-17 21:08:40 +02:00
Victoria Brekenfeld
4b2082f72a
input: Fix surpressed_keys logic
2024-07-17 21:08:40 +02:00
Ian Douglas Scott
7acfa10ba0
Disable workspace change gestures when workspaces overview is open
...
Without animation between workspaces, the behavior is a bit jarring.
Disable for now until we have a better solution.
2024-07-15 17:12:05 +02:00
Victoria Brekenfeld
c506d94ac8
shell: Don't consider active overviews animations
2024-07-15 16:31:24 +02:00
Victoria Brekenfeld
bf8fb0ac24
input: Fix broken confinement check
2024-07-10 22:36:40 +02:00
Michael Aaron Murphy
553c49b42b
feat: runtime configurable keybindings
2024-07-01 15:20:23 +02:00
Victoria Brekenfeld
0c11c0f959
input: Fix deadlock holding shell during grab code
2024-06-26 12:59:33 +02:00