summaryrefslogtreecommitdiff
path: root/src/protocols/PointerConstraints.cpp
Commit message (Collapse)AuthorAgeFilesLines
* debug: move to hyprutils' logger (#12673)Vaxry2025-12-181-3/+3
|
* desktop: cleanup, unify desktop elements as views (#12563)Vaxry2025-12-081-6/+6
|
* compositor: Configurable behavior when window to be focused conflicts with ↵Nikolai Nechaev2025-11-251-2/+3
| | | | | | | | | | fullscreen (#12033) Renames `misc:new_window_takes_over_fullscreen` into `misc:on_focus_under_fullscreen` and implements the following behavior: - By default, when a tiling window is being focused on a workspace where a fullscreen/maximized window exists, respect the `misc:on_focus_under_fullscreen` config variable.
* core: use new typed signals from hu (#10853)outfoxxed2025-07-081-1/+1
|
* refactor: use std::ranges whenever possible (#10584)Kamikadze2025-05-301-1/+1
|
* protocols: refactor class member vars (n-t) (#10273)davc0n2025-05-041-55/+55
|
* protocols: refactor class member vars (core) (#10259)davc0n2025-05-031-3/+3
|
* managers: refactor class member vars (#10242)davc0n2025-05-021-1/+1
|
* inputs: refactor class member vars (#10230)davc0n2025-05-011-4/+4
|
* windows: refactor class member vars (#10168)davc0n2025-04-281-2/+2
|
* workspaces: refactor class member vars (#10167)davc0n2025-04-251-2/+2
|
* compositor: refactor class member vars (#10141)davc0n2025-04-221-1/+1
|
* protocols: ensure PointerConstraints activation occurs only after attched to ↵Bruno Krügel2025-04-191-3/+3
| | | | InputManager (#10096)
* core: move all shared_ptrs from the STL to hyprutils (#9143)Vaxry2025-01-231-1/+1
|
* core: add LIKELY and UNLIKELY macrosvaxerski2025-01-171-6/+6
| | | | helps the compiler optimize
* core: cleanup header includes (#9088)user1111111111111111111111111111111112025-01-171-0/+3
| | | Cleanup some unneeded includes to speed up compilation
* core: Add clang-tidy (#8664)Vaxry2024-12-071-2/+2
| | | | | This adds a .clang-tidy file for us. It's not a strict requirement to be compliant, but I tuned it to be alright.
* constraints: don't warp pointer position on release (#8491)johannes hanika2024-11-181-1/+1
| | | | | | | | this was annoying for nuklear properties/ui slider elements that grab the pointer via GLFW_CURSOR_DISABLE to allow more range and finer control. upon mouse release, the pointer is reset to the middle of the window without this patch, making long mouse movements necessary to go back to the original position for readjustments. fwiw the new behaviour is consistent with x11 and weston.
* protocols: refactor protocol logging to a macro (#7324)Tom Englund2024-08-151-2/+0
| | | | | | this avoids the usage of the unique_ptr PROTO::protocol before it has been constructed incase one wants to log something inside the constructor itself, move the logging to macros and print file:linenumber on ERR,CRIT,WARN and classname on the rest of the levels.
* pointer-constraint: set lifetime correctlyVaxry2024-06-291-4/+4
| | | | ref #6679
* constraints: Lock surface region when region is empty (#6627)MariuszTrybus2024-06-221-2/+9
| | | | | * Pointer constraints: Lock surface region when region is empty * Format code
* wayland/core: move to new impl (#6268)Vaxry2024-06-081-15/+16
| | | | | * wayland/core/dmabuf: move to new impl it's the final countdown
* wl_seat: move to hyprland implVaxry2024-05-141-2/+3
|
* pointer-constraints: Remove unnecessary cursor warps (#5895)Agent00Ming2024-05-061-6/+0
| | | | | modified: src/protocols/PointerConstraints.cpp Co-authored-by: Agent_00Ming <agent00ming9366@gmail.com>
* internal: new shared_ptr and weak_ptr implementation (#5883)Vaxry2024-05-051-2/+2
| | | | | | | | | | | moves std::shared_ptrs to a new implementation Advantages: - you can dereference a weak_ptr directly. This will obviously segfault on a nullptr deref if it's expired. - this is useful to avoid the .lock() hell where we are 100% sure the pointer _should_ be valid. (and if it isn't, it should throw.) - weak_ptrs are still valid while the SP is being destroyed. - reasoning: while an object (e.g. CWindow) is being destroyed, its `weak_ptr self` should be accessible (the sp is still alive, and so is CWindow), but it's not because by stl it's already expired (to prevent resurrection) - this impl solves it differently. w_p is expired, but can still be dereferenced and used. Creating `s_p`s is not possible anymore, though. - this is useful in destructors and callbacks.
* protocols: utilize hyprwayland-scanner 0.3.3 functionsVaxry2024-05-011-8/+8
| | | | stuff like ::version(), ::client(), ::error() etc
* pointer-constraints: don't warp on entering a confined pointerVaxry2024-04-271-1/+2
| | | | ref #5774
* pointer-constraints: remove emoji to fix clangVaxry2024-04-271-2/+2
| | | | fixes #5765
* pointer-constraints: move to new implVaxry2024-04-271-0/+260