Ivan Molodetskikh
e43e10f44e
Remove unnecessary reference
2024-03-24 11:11:00 +04:00
Ivan Molodetskikh
493c8dc890
Implement block-out-from window rule, fix alpha on window screenshots
2024-03-24 10:22:56 +04:00
Ivan Molodetskikh
8b4a9d68e0
Implement opacity window rule
2024-03-24 08:30:26 +04:00
Ivan Molodetskikh
a16a0f0e52
Implement TouchpadScroll binds
2024-03-23 20:30:45 +04:00
Ivan Molodetskikh
6ba195211b
Rename WheelTracker to ScrollTracker
2024-03-23 20:17:01 +04:00
Ivan Molodetskikh
afaaf36f27
Avoid scroll bind lookup until it is triggered
2024-03-23 19:20:44 +04:00
Ivan Molodetskikh
f1b36b0dce
Send pending configure after recomputing window rules
2024-03-23 18:57:06 +04:00
Ivan Molodetskikh
6ec65bc0d6
Add is-focused window rule matcher
2024-03-23 16:16:52 +04:00
Ivan Molodetskikh
d65446421f
Make rules non-pub
2024-03-23 16:04:35 +04:00
Ivan Molodetskikh
24078cfea2
Make need_to_recompute_rules non-pub
2024-03-23 16:02:23 +04:00
Ivan Molodetskikh
5cc2c31a5b
Split State::refresh() to get a trace span
2024-03-23 15:45:44 +04:00
Ivan Molodetskikh
b7ed2fb82a
Add is-active window rule matcher
2024-03-23 15:45:44 +04:00
Ivan Molodetskikh
f3f02aca20
Lift output clones from queue_redraw()
2024-03-23 15:45:44 +04:00
Ivan Molodetskikh
021a2a1af7
Don't use an idle for queued redraw tracking
...
This way we can order the redraw after all the refreshing, where it
should be.
2024-03-23 15:45:44 +04:00
Ivan Molodetskikh
354f0b039a
Pass Un/Mapped to window rule resolution
2024-03-23 15:45:44 +04:00
Andreas Stührk
d120e0c451
input: Add support for ISO level3 shift modifier
...
This modifier is typically called "AltGr" on keyboards or "Mod5" in xkb
layouts. Requires a Smithay update.
2024-03-23 15:45:27 +04:00
Ivan Molodetskikh
0f724f2011
Stop hardcoding "us" default layout
...
XKB has its own way to pick the default.
2024-03-23 10:10:01 +04:00
Ivan Molodetskikh
46131c87a5
default-config: Clarify that wheel binds are affected by natural-scroll
2024-03-23 09:02:50 +04:00
Ivan Molodetskikh
c66319314e
Fix vertical wheel binds on winit
2024-03-23 09:00:55 +04:00
Ivan Molodetskikh
b09dbb80c7
[cfg-breaking] Rename Wheel* to WheelScroll* bindings
...
Less confusion, and clearer that they are affected by natural-scroll.
2024-03-23 08:49:58 +04:00
Ivan Molodetskikh
54e6a01284
Allow clippy false positive harder
2024-03-22 21:24:11 +04:00
Ivan Molodetskikh
7721e3fc44
Allow clippy false positive
2024-03-22 21:14:03 +04:00
Ivan Molodetskikh
0d2fdb49ef
default-config: Add mouse wheel binds
2024-03-22 20:56:20 +04:00
Ivan Molodetskikh
b06e51da60
Implement bind cooldown-ms
2024-03-22 20:47:40 +04:00
Ivan Molodetskikh
6c08ba307a
input: Make functions return the whole bind
2024-03-22 20:47:35 +04:00
Ivan Molodetskikh
4b2fdd0776
Implement mouse wheel bindings
2024-03-22 13:10:40 +04:00
Ivan Molodetskikh
969519b5d8
input: Generalize bound_action() to Trigger
2024-03-22 11:11:45 +04:00
Ivan Molodetskikh
a0c8c39b06
Make binds accept wheel names
2024-03-22 10:36:19 +04:00
Ivan Molodetskikh
977f1487c2
input: Fix discrete axis value on winit
2024-03-22 09:41:10 +04:00
Ivan Molodetskikh
fbe021fbdf
input: Rename discrete => v120
2024-03-22 09:35:17 +04:00
Ivan Molodetskikh
db49deb7fd
Implement draw-border-with-background window rule
2024-03-19 18:29:13 +04:00
Ivan Molodetskikh
c61361de3c
Implement window rule reloading and min/max size rules
2024-03-19 18:29:13 +04:00
Ivan Molodetskikh
3963f537a4
Wrap mapped windows in a Mapped
2024-03-19 18:29:13 +04:00
Ivan Molodetskikh
f31e105043
Make window a subdirectory
2024-03-19 18:29:13 +04:00
Ivan Molodetskikh
bbb4caeb8c
Remove remaining Window-specific functions
2024-03-19 18:29:13 +04:00
Ivan Molodetskikh
d421e1fbf8
Move PartialEq from LayoutElement to an associated type
2024-03-19 18:29:13 +04:00
FluxTape
23ac3d7323
Workspace back and forth ( #253 )
...
* implement workspace back and forth
* Make our own ID counter instead of SerialCounter, use a newtype
* Rename FocusWorkspaceBackAndForth to FocusWorkspacePrevious
* Add focus-workspace-previous to tests
* Don't special case in switch_workspace_previous
* Minor clean up
* Add switch_workspace_auto_back_and_forth to tests
* Skip animation on switch_workspace_previous
* Preserve previous_workspace_id on workspace movement
* Make Workspace::id private with a getter
Reduce the chance it gets overwritten.
* Add test for workspace ID uniqueness
* Update previous workspace ID upon moving workspace across monitors
---------
Co-authored-by: Ivan Molodetskikh <yalterz@gmail.com >
2024-03-19 07:27:52 -07:00
Ivan Molodetskikh
c3327d36da
tty: Generalize DRM property helpers
2024-03-19 09:00:00 +04:00
Ivan Molodetskikh
e0da101c73
Disable screencast when PipeWire is missing
...
This can cause a panic.
2024-03-19 08:59:28 +04:00
Ivan Molodetskikh
4740682904
README: Move configuration up
2024-03-18 19:36:18 +04:00
Ivan Molodetskikh
df9d721f74
Implement focus-follows-mouse
2024-03-18 19:32:03 +04:00
Ivan Molodetskikh
d970abead8
Keep track of output and window in PointerFocus separately
2024-03-18 19:32:03 +04:00
Ivan Molodetskikh
4f6ed9dfc9
Fix lock surface pointer location
2024-03-18 19:32:03 +04:00
Ivan Molodetskikh
84302796dc
Take workspace switch gesture into account for visual rect
2024-03-18 19:31:11 +04:00
Ivan Molodetskikh
a39e703fc3
Don't warp if currently using tablet
...
The tablet will override the position anyway.
2024-03-18 19:31:11 +04:00
Ivan Molodetskikh
a55db6c6c4
Warp mouse to focus on window closing
2024-03-18 19:31:11 +04:00
Ivan Molodetskikh
a011b385d8
Warp mouse to focus on new window appearing
2024-03-18 19:31:11 +04:00
Ivan Molodetskikh
2984722f80
Warp mouse only if layout is focused
2024-03-18 19:31:11 +04:00
Ivan Molodetskikh
118773e17d
Track keyboard focus component
2024-03-18 19:31:11 +04:00
FluxTape
741bee461c
Implement warp-mouse-to-focus
2024-03-18 19:31:11 +04:00