summaryrefslogtreecommitdiff
path: root/src/protocols/XDGOutput.cpp
Commit message (Collapse)AuthorAgeFilesLines
* debug: move to hyprutils' logger (#12673)Vaxry2025-12-181-4/+4
|
* xwayland: refactor class member vars (#10312)davc0n2025-05-071-1/+1
| | | | | * xwayland: refactor class member vars * xwayland: fix pure wayland build
* protocols: refactor class member vars (u-z) (#10282)davc0n2025-05-041-29/+29
| | | | | * protocols: refactor class member vars (u-z) * protocols: fix clang format
* protocols: refactor class member vars (core) (#10259)davc0n2025-05-031-2/+2
|
* helpers: refactor class member vars (#10218)davc0n2025-04-301-7/+7
|
* windowrules: allow incrementing window props (#9566)MightyPlaza2025-04-161-0/+1
|
* core: move all shared_ptrs from the STL to hyprutils (#9143)Vaxry2025-01-231-2/+2
|
* core: add LIKELY and UNLIKELY macrosvaxerski2025-01-171-5/+5
| | | | helps the compiler optimize
* core: cleanup header includes (#9088)user1111111111111111111111111111111112025-01-171-2/+2
| | | Cleanup some unneeded includes to speed up compilation
* internal: cleanup CMonitor usage and fix a few ref hogsVaxry2024-10-261-1/+1
| | | | ref #8221
* output/xdg-output: avoid sending events to released globalsVaxry2024-10-091-1/+3
| | | | ref #6835
* xdg-output: minor cleanupsVaxry2024-10-051-18/+14
|
* misc: constify the remaining for loops (#7534)Tom Englund2024-08-261-2/+2
| | | now we roll loops at blazing constified speed.
* 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.
* Core: Move to aquamarine (#6608)Vaxry2024-07-211-3/+3
| | | | | | | | | | | | | | Moves Hyprland from wlroots to aquamarine for the backend. --------- Signed-off-by: Vaxry <vaxry@vaxry.net> Co-authored-by: Mihai Fufezan <mihai@fufexan.net> Co-authored-by: Jan Beich <jbeich@FreeBSD.org> Co-authored-by: vaxerski <vaxerski@users.noreply.github.com> Co-authored-by: UjinT34 <41110182+UjinT34@users.noreply.github.com> Co-authored-by: Tom Englund <tomenglund26@gmail.com> Co-authored-by: Ikalco <73481042+ikalco@users.noreply.github.com> Co-authored-by: diniamo <diniamo53@gmail.com>
* wayland/core: move to new impl (#6268)Vaxry2024-06-081-2/+3
| | | | | * wayland/core/dmabuf: move to new impl it's the final countdown
* xwayland: move to hyprland impl (#6086)Vaxry2024-05-251-1/+2
|
* internal: new shared_ptr and weak_ptr implementation (#5883)Vaxry2024-05-051-1/+1
| | | | | | | | | | | 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-6/+5
| | | | stuff like ::version(), ::client(), ::error() etc
* Protocols: implement protoLogVaxry2024-04-221-1/+3
|
* HookSystem: improve callback safetyVaxry2024-04-201-3/+3
|
* XDG-Output: move to hyprwayland-scannerVaxry2024-04-201-77/+57
|
* config: improve config value infrastructureVaxry2024-03-031-2/+3
|
* Migrate the config to hyprlang (#4656)Vaxry2024-02-181-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Migrate to hyprlang * pop up errors * fix swapped args * Meson & Nix: build with hyprlang * CI: add hyprlang to setup action * add infra for plugin stuff * fix hyprctl getoption * fix hyprctl getoption with json * format * fix post parse logic * fix autogen config * oops missed exec-once * fmt * fix ws rules * require 0.3.0 for hyprlang * nix: flaek * minor type fixes * fix cfg usages in swipe * use cvarlist for ws rules * fix throw in addPluginConfigVar * Nix: update hyprlang * minor fixes * fix disableLogs * mention hyprlang docs * bump hyprlang dep in cmake * Meson: bump min hyprlang version Nix: update hyprlang * minor fix * Nix: update meson patch --------- Co-authored-by: Mihai Fufezan <fufexan@protonmail.com>
* Core: various unsafe state improvements (#3713)Vaxry2023-11-011-9/+11
| | | Fixes #3637
* hooksystem: add callbackinfo struct and cancellable eventsVaxry2023-10-211-3/+3
|
* xdgoutput: do not destroy resources on monitorRemovedvaxerski2023-09-051-1/+6
|
* internal: Unsafe state reworks (#3114)Vaxry2023-09-011-9/+4
|
* xdgoutput: mark resources defunct when monitor is unpluggedvaxerski2023-08-251-3/+8
|
* internal: Wayland Protocol impl improvements (#2944)Vaxry2023-08-211-13/+20
|
* xdgoutput: don't send all details in .getvaxerski2023-08-191-1/+1
|
* xwayland: use a completely separate coordinate systemvaxerski2023-08-151-39/+1
| | | | | | Use a completely separate coordinate system for XWayland. This fixes all issues with force_zero_scaling overlaps. Fixes #2916
* xdgoutput: separate logic for zero scaling positionsvaxerski2023-08-151-3/+42
| | | | if a scaled monitor was directly to the left of another monitor, we'd change the size to have zero scaling without pushing other monitors out of the way, creating overlaps in xwayland.
* xdgoutput: manually destroy manager resourcevaxerski2023-08-041-2/+2
|
* xwayland: Add temporary fix for #2808 by adding nullptr check. (#2829)Po-Yeh Chen2023-07-281-2/+2
| | | | | * Add temporary fix for #2808 by adding nullptr check. * Remove redundency.
* internal: Protocol C++ Wraps + XDGOutput impl (#2733)Vaxry2023-07-181-0/+127
move to our own xdgoutput impl instead of wlr's