Commit Graph

449 Commits

Author SHA1 Message Date
may
f08167c877 input: add sticky option for drag_lock (#10702)
* allow configuring the sticky option for `drag_lock`

* enable sticky drag_lock by default as recommended by libinput

recommended here:
https://lists.freedesktop.org/archives/wayland-devel/2024-November/043860.html
2025-06-15 11:45:06 +02:00
Vaxry
8329de1ab5 input: grab the correct active workspace on mouseMove
fixes #10651
2025-06-11 17:09:39 +02:00
Ufuk Ustali
0ac3bef724 input: support configuring drag_3fg from libinput (#10631) 2025-06-06 15:47:15 +01:00
Kamikadze
69c2b2926e internal: refactor to use empty() (#10599) 2025-05-31 19:49:50 +01:00
Kamikadze
9190443d95 refactor: use std::ranges whenever possible (#10584) 2025-05-30 14:25:59 +01:00
Vaxry
d9c8a37811 input: always allow focus to permission popups 2025-05-18 19:34:20 +02:00
Vaxry
158c0f2911 permissions: add permission management for keyboards (#10367) 2025-05-18 19:13:20 +02:00
Vaxry
705b97c4ac input: revert #10416 and #10418
fixes #10451
2025-05-17 19:43:12 +02:00
outfoxxed
2aa21625bd input: ensure seat grabs from exclusive layers can be dismissed (#10418) 2025-05-17 13:06:48 +02:00
outfoxxed
2946009006 input: do not send mouse events when outside of a surface (#10416) 2025-05-16 23:39:28 +02:00
Vaxry
a51e639d81 input: disallow virtual keyboards from changing LED state (#10402) 2025-05-14 17:48:17 +01:00
nyx
53bfb92d65 layout: allow interacting with pinned windows when fullscreened (#10326)
* layout: allow interacting with pinned windows when fullscreened

* IHyprLayout: format code

* e
2025-05-08 20:59:51 +02:00
davc0n
9cd5b25745 protocols: refactor class member vars (u-z) (#10282)
* protocols: refactor class member vars (u-z)

* protocols: fix clang format
2025-05-04 23:39:00 +02:00
davc0n
adbae0f74d protocols: refactor class member vars (a-m) (#10265) 2025-05-04 00:13:29 +02:00
Honkazel
3465efcdc1 internal: Use vecnotinrect instead of !vecinrect (#10262)
* monitor: use vecnotinrect

* inputmanager: vecnotinrect

* clang format
2025-05-03 18:54:15 +02:00
Virt
cdf5736f1a layerrules: fix abovelock interactivity for touch input (#10253) 2025-05-03 16:07:02 +02:00
davc0n
d9cad5e1b6 protocols: refactor class member vars (core) (#10259) 2025-05-03 16:02:49 +02:00
davc0n
ce821294e2 managers: refactor class member vars (#10242) 2025-05-02 17:07:20 +02:00
davc0n
5b3e489108 inputs: refactor class member vars (#10230) 2025-05-01 23:57:11 +02:00
davc0n
50e1bec85f helpers: refactor class member vars (#10218) 2025-04-30 23:45:20 +02:00
Vaxry
9868b18378 input: don't use pointer hold logic for unmapped surfs
fixes #10215
2025-04-30 00:31:21 +01:00
davc0n
e9c3fcbb64 devices: refactor class member vars (#10206) 2025-04-29 19:51:07 +02:00
davc0n
2118440488 windows: refactor class member vars (#10168) 2025-04-28 22:25:22 +02:00
Virt
4cf62c114e layerrules: add abovelock to render above lockscreen (#9793) 2025-04-25 16:38:31 +02:00
davc0n
02d7badd15 workspaces: refactor class member vars (#10167) 2025-04-25 02:37:12 +02:00
davc0n
0e80ecc534 layers: refactor class member vars (#10149)
* layers: refactor class member vars

* popups: rename m_WLSurface to m_wlSurface
2025-04-24 20:49:49 +02:00
davc0n
241a4935a2 compositor: refactor class member vars (#10141) 2025-04-22 15:23:29 +02:00
nyx
55e953b383 InputManager: add nofollowmouse (#9994)
* InputManager: add nofollowmouse

with this, focus_follows_mouse=1 acts like focus_follows_mouse=2 on the specific windows defined by the user

* e

* e

biggest e of all time
2025-04-21 20:48:27 +02:00
nyx
d29723cb76 keybinds: allow executing binds not bound to a key (#10102) 2025-04-21 20:47:14 +02:00
nyx
225e13c3cc InputManager: add config option to disable keybinds per device (#10064) 2025-04-17 02:19:10 +02:00
Vaxry
877fb5b93a time: move to stl's clocks and move timer 2025-04-16 01:37:48 +01:00
MightyPlaza
ffd6cf65e4 windowrules: allow incrementing window props (#9566) 2025-04-16 01:00:40 +02:00
Vaxry
70ae99f521 input/layers: Fix exclusive LS focus / refocus after unmap (#9984) 2025-04-07 20:52:11 +02:00
phonetic112
e59680481d input: Fix clicking through groupbar tabs (#9606) 2025-03-15 01:22:39 +01:00
Khalid J.
b21edb1a97 input: fix touch calibration matrix overriding
make the default behavior non-overriding to avoid overriding user-set
values elswehere.
2025-03-11 00:51:42 +00:00
nyx
4435f5c546 input: fixup mouse check for flipping x / y (#9529) 2025-03-06 17:33:01 +01:00
nyx
d7e7a29261 input: add flip_x and flip_y for touchpad (#9481) 2025-03-03 21:56:01 +01:00
Indy Ray
f148b96bea input: Provide a non-zero time for button release triggered during window unmap. (#9513)
It doesn't seem that this is actually required, but it seems more consistant with other areas, such as in CVirtualKeyboardV1Resource::releasePressed.
2025-03-01 16:53:30 +01:00
andrewandreii
59c615c321 input: add follow_mouse_threshold (#9392) 2025-02-17 03:03:27 +01:00
user111111111111111111111111111111111
2bad73354a core: cleanup header includes (#9088)
Cleanup some unneeded includes to speed up compilation
2025-01-17 15:21:35 +00:00
Maximilian Seidler
5642ed331d core: move parts of the animation system to hyprutils (#8868)
* core: change animation manager to use Hyprutils::Animation

* config: move animation config to hyprutils animation tree

* use g_pAnimationManager->createAnimation and the new PHLANIMVAR template

* core: use CGenericAnimatedVariabled::{enabled,setConfig,getStyle} and adapt callbacks

* core: adapt animated variable usage (dereference the shared pointer)

* misc: bump CMakeLists to hyprutils 0.3.3
2025-01-07 17:55:14 +00:00
Vaxry
de3ad245dc input: add warp_back_after_non_mouse_input
adds cursor:warp_back_after_non_mouse_input

fixes #8675
2024-12-15 23:54:14 +00:00
Vaxry
9f7a96b997 core/data: Use pointer focus for DnD operations (#8707)
fixes #7737
2024-12-14 16:19:56 +01:00
Mike Will
df956a0f6f windowrules: add rules for mouse and touchpad scroll factors (#8655) 2024-12-11 17:27:49 +00:00
Vaxry
8bbeee1173 core: Add clang-tidy (#8664)
This adds a .clang-tidy file for us.

It's not a strict requirement to be compliant, but I tuned it to be alright.
2024-12-07 18:51:18 +01:00
Vaxry
745a82ce8a core: workspace-related function cleanup / refactor
CCompositor is massive, and has a lot of functions that could be better optimized if in CWorkspace
2024-11-22 16:01:02 +00:00
JManch
07052a515b pointer: map devices across all outputs by default (#8352) 2024-11-11 13:45:33 +00:00
Vaxry
0ccc0ace88 input: ignore non-kb ls-es in refocusLastWindow
ref #8293
2024-11-09 02:25:54 +00:00
Vaxry
4c7a2faf85 input: cleanup device naming logic
ref #8301
2024-11-09 01:53:05 +00:00
nickodei
3b66351eeb input: Refocus window on scrolling if follows mouse (#8361) 2024-11-08 17:25:37 +00:00