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
Ivan Molodetskikh
0c57815fbf
Restore gamma on TTY switch back
2024-03-15 22:02:29 +04:00
Ivan Molodetskikh
cf89c789c3
README: Link touchpad gestures to showcase video
2024-03-15 09:56:11 -07:00
Ivan Molodetskikh
642c6e7512
Store gamma changes to apply on session resume
2024-03-15 13:29:36 +04:00
Ivan Molodetskikh
6839a118bb
Implement gamma adjustment via GAMMA_LUT property
2024-03-15 13:29:36 +04:00
Ivan Molodetskikh
9ae3cad82b
gamma-control: Misc. clean ups and fixes
2024-03-15 13:29:36 +04:00
phuhl
89dfaa6cac
Adds support for wlr_gamma_control_unstable_v1 protocol
2024-03-15 13:29:36 +04:00
Ivan Molodetskikh
f6ffe8b3ab
tty: Make binding EGL wl-display optional
2024-03-14 18:08:52 +04:00
la .uetcis
cc83ff008d
Add clickfinger in touchpad config ( #256 )
...
* Add clickfinger in touchpad config
* Change `clickfinger` to `click-method`
* Change `bottom_areas` to `button_areas`
* Change button_areas to button-areas
For consistency.
* Reorder click methods in error message
The most usual one comes first.
* default-config: Move click-method down
---------
Co-authored-by: Ivan Molodetskikh <yalterz@gmail.com >
2024-03-13 21:26:03 -07:00
Ivan Molodetskikh
ba4e7481c3
default-config: Clarify how to power on monitors
2024-03-14 08:04:34 +04:00
Ivan Molodetskikh
c15bc2a028
tty: Set max bpc to 8
2024-03-13 09:15:18 +04:00
Ivan Molodetskikh
bf1cc98886
Update Smithay
2024-03-13 07:17:19 +04:00
Ivan Molodetskikh
5f137b77d3
Reapply "Add wp-viewporter"
...
This reverts commit 40cec34aa4 .
The Chromium issues are now fixed.
2024-03-12 17:22:53 +04:00
Ivan Molodetskikh
128d573e74
Update Smithay (viewporter fixes)
2024-03-12 17:22:52 +04:00
Ivan Molodetskikh
ed8a6afe80
Add a 1 Hz fallback frame callback timer
...
gamescope + Minecraft with NeoForge throws an error upon starting if
there are no frame callbacks, thus making it the first client that has a
problem. Also, apparently, Veloren disconnects from server with VSync
and no frame callbacks.
2024-03-12 10:42:09 +04:00
Ivan Molodetskikh
43aa2f95be
Fix new clone_from Clippy lints
2024-03-12 10:42:09 +04:00
Ivan Molodetskikh
5c0a1f4d6f
Fix spelling mistake
2024-03-12 10:42:09 +04:00
Ivan Molodetskikh
8c46611c29
Preserve view offset for activate_prev_column_on_removal
2024-03-10 17:59:10 +04:00
Ivan Molodetskikh
40cec34aa4
Revert "Add wp-viewporter"
...
This reverts commit 348690afb6 .
Apparently this breaks input in Chromium: the input region won't resize
together with the window.
2024-03-10 17:59:10 +04:00
Ivan Molodetskikh
1971a41fdd
utils/spawning: Pass grandchild PID only on systemd
...
libc::close_range() is not available on musl, so do this workaround for
now.
2024-03-09 18:37:11 +04:00
Ivan Molodetskikh
4ea90140d4
Fix warning on --no-default-features
2024-03-09 18:36:01 +04:00
Ivan Molodetskikh
acd33653b3
README: Update screenshot
v0.1.3
2024-03-09 14:45:18 +04:00
Ivan Molodetskikh
f7c6516da7
README: Expand package listing
2024-03-09 14:29:20 +04:00
Ivan Molodetskikh
b220420fba
README: mention just "Touchpad gestures"
...
We've got both directions now.
2024-03-09 08:29:51 +04:00
Ivan Molodetskikh
bbeaba16a0
Bump version to 0.1.3
2024-03-09 08:28:48 +04:00
Ivan Molodetskikh
9d7c39b89a
Reposition outputs after potentially changing mode
...
Currently outputs aren't repositioned again after a mode change, which
can cause overlaps.
2024-03-09 08:23:57 +04:00