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
Victoria Brekenfeld
3b7bba3add
debug: Drop puffin, interactivity, renderdoc
2024-06-26 12:59:33 +02:00
Victoria Brekenfeld
cf0b0f9d2d
chore: Move some rendering-related state into the shell
2024-06-26 12:59:33 +02:00
Ian Douglas Scott
f2342f56c1
Update to latest Smithay version
2024-06-19 12:39:16 +02:00
Ryan Brue
b4a712c2bf
chore: cargo fmt
2024-05-30 23:05:34 +02:00
PixelDots
b3c606fdf6
Fixes https://github.com/pop-os/cosmic-epoch/issues/346
2024-05-23 17:17:37 +02:00
Ian Douglas Scott
4f076e0753
Update smithay, with xwayland shell, Cow, etc.
2024-05-21 19:31:50 +02:00
Ian Douglas Scott
46fd6ebd61
Fix tablet input
...
We need to call `add_tablet` for each tablet device, not just if the
capability is new. Also, the tool needs to be added with `add_tool`.
`xournalpp` seems to be working now.
2024-05-15 08:16:43 +02:00
Ian Douglas Scott
36bf611bac
fix: Apply scroll_factor to v120 events
...
I wasn't sure if, or how, scaling should apply to the `scroll_value120`
events. But it seems both sway and kwin just multiply by the scale
factor then round, so that seems reasonable.
This seems to fix https://github.com/pop-os/cosmic-settings/issues/270 .
2024-05-10 14:00:45 +02:00
Mattias Eriksson
19ba568f02
Initial support for idle notify and idle ihibit
2024-05-03 14:38:58 +02:00
Ian Douglas Scott
17ddc7ce24
Update smithay
...
Updates for changes in https://github.com/Smithay/smithay/pull/1391 .
2024-04-17 11:59:13 +02:00
Victoria Brekenfeld
5d5a510691
state: Move shell behind RwLock
2024-04-16 18:50:54 +02:00
Victoria Brekenfeld
647deb81f1
shell: Move seats into shell
2024-04-16 18:50:54 +02:00
Ian Douglas Scott
b18a3a8bc7
shell: Touch support for move grab
...
Touch support is still needed for other grabs. And SSDs (and libcosmic)
need to start move/menu/etc. based on touch.
2024-04-15 11:37:03 +02:00