Maximilian Seidler
407453166c
protocols: add hyprland_lock_notify_v1 implementation ( #9092 )
2025-01-19 18:21:36 +00:00
8dd2cd41fb
core: move to inotify for monitoring the config files
...
instead of manually polling every second which is not efficient, use inotify.
an added bonus is that inotify is much much faster
2025-01-19 16:11:12 +01:00
0a0e56d99c
core: use readFileAsString instead of cat for os-release
2025-01-19 14:04:59 +01:00
outfoxxed
086fd7ece8
protocols: do not destroy screencopy resources before client request ( #9048 )
2025-01-19 12:51:42 +00:00
Tom Englund
4da9b7cc5b
core: reserve vector sizes as much as we can ( #9118 )
...
avoid reallocations as much as possible with a few edge cases where the
reservation overshoots a tiny bit. but a few bytes of memory short term
is better used then the overhead of potential reallocation.
2025-01-19 10:38:42 +00:00
d01756c1f4
Meson: properly install 'hyprland' symlink ( #9091 )
2025-01-18 10:59:25 +02:00
UjinT34
078e13f463
renderer: Auto enable wide color gamut in HDR mode ( #9090 )
2025-01-17 20:23:57 +00:00
47d645d84a
core: fixup includes
2025-01-17 19:14:55 +01:00
Beau
b65f8a8723
desktop/DesktopTypes.hpp: fix include ( #9104 )
2025-01-17 18:56:43 +01:00
401a3bae61
core: fix warning in shadow
2025-01-17 18:56:43 +01:00
76a899627e
regex: log an error if regex parsing fails
2025-01-17 18:56:43 +01:00
b7a3c45269
core: add LIKELY and UNLIKELY macros
...
helps the compiler optimize
2025-01-17 18:56:39 +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
Vaxry
0dc7367a70
renderer: use cairo for cpu buffer rendering ( #9071 )
...
Instead of a wonky memcpy which doesn't work when anything non-standard is used (size, pos, transform), just use cairo
2025-01-16 14:42:39 +00:00
UjinT34
52b9ae592b
renderer: fix fullscreen hdr check ( #9076 )
2025-01-16 13:13:47 +01:00
25add26881
renderer: unload background texture if it's disabled
...
ref #9031
2025-01-14 17:52:32 +01:00
outfoxxed
f16f170433
protocols: immediately copy toplevel content when ignoreDamage set ( #9049 )
...
Also sets m_ignoreDamage, as it wasn't set before.
2025-01-14 16:44:09 +00:00
outfoxxed
a6b263713a
protocols: allow hyprland-toplevel-export to capture hidden windows ( #9041 )
2025-01-12 17:10:36 +00:00
outfoxxed
4f0f512cab
protocols: do not capture cursor in toplevel without pointer focus ( #9042 )
2025-01-12 17:09:02 +00:00
UjinT34
a3a7499317
renderer: Do not set hdr metadata unless needed ( #9014 )
2025-01-12 17:02:41 +00:00
staz
b117fae3b4
keybinds: fix movefocus fallback for special workspaces ( #9040 )
2025-01-12 17:00:56 +00:00
Toria
2671656a75
helpers/Monitor.cpp: fix include path ( #9039 )
2025-01-12 18:35:10 +02:00
Maximilian Seidler
2778aff08f
animations: fix XWayland cursor glitch and refactor skill issues ( #9033 )
2025-01-11 16:38:04 +00:00
Maximilian Seidler
9e4f90aedf
animation: fixup adding animvars during ::tick ( #9030 )
2025-01-11 16:35:57 +00:00
Alexander
15dc024a39
keybinds: fix previous_per_monitor logic ( #9010 )
...
Co-authored-by: Крылов Александр <aleksandr.krylov@hyperus.team>
2025-01-11 16:05:53 +00:00
littleblack111
3b85690aa6
config: add exec(-onec) with rules and execr(-once) ( #8953 )
2025-01-11 15:58:05 +00:00
cef09fbfe6
animation: avoid crashes in ::tick() on mutations
...
mutating the active variables is valid during a tick, we can't let it crash
2025-01-10 21:55:19 +01:00
UjinT34
a8b568c6c4
core: Add render:allow_early_buffer_release to make buffer release configurable ( #9019 )
2025-01-10 18:42:26 +00:00
Vaxry
b5fb6110ab
core: Add a periodic donation request ( #8981 )
...
Will fire once in december and july. Disableable with `ecosystem:no_donation:nag`
2025-01-10 18:09:40 +00:00
littleblack111
da9252a23e
keybinds: fix nullptr deref in forcekillactive ( #9021 )
2025-01-10 15:16:52 +00:00
8475a8ef99
core: always use goal size to send to clients
2025-01-10 14:09:16 +01:00
Dardo D Kleiner
f9c37ca43b
windows: honor xdg_toplevel_set_fullscreen output hint ( #8965 )
...
Co-authored-by: Dardo D Kleiner <dardo.kleiner@nrl.navy.mil>
2025-01-09 22:38:38 +00:00
9dc9366fc6
config: fix animations requiring all args
...
fixes #9009
2025-01-09 22:08:16 +01:00
zakk4223
2d1ebadb9b
selectors: add a tag: to for matching window tag(s) by regex ( #8985 )
2025-01-09 20:52:26 +00:00
Maximilian Seidler
e66eab7b6a
animationmgr: don't warp based on POINTY value ( #9000 )
2025-01-09 11:13:47 +00:00
littleblack111
c9822b08f9
keybinds: add new window destruction dispatchers ( #8962 )
2025-01-08 21:16:34 +00:00
983bc067da
opengl: fix crash on null fb stencil op
2025-01-08 12:34:43 +01:00
b320bc2dc6
core: use cpu-buffer hw cursors on nvidia by default
2025-01-08 12:29:24 +01:00
ad64726f5d
opengl: only allocate offMainFB on demand
...
These are not used by hyprland, only potentially plugins. No need to keep the VRAM allocated all the time
2025-01-08 11:33:45 +01:00
Maximilian Seidler
5fa2594659
renderer: don't access hdrMetadata optional if it has no value ( #8987 )
2025-01-08 10:28:55 +00:00
staz
75727e7c17
protocols: fix compilation error ( #8988 )
2025-01-08 10:28:47 +00:00
67e1e46f9b
window: fixup fade out animation on silent moves
2025-01-07 20:58:49 +01:00
308b1f3afb
core: minor fixes for animation rewrite
2025-01-07 20:30:44 +01:00
c143907857
config: update animation even if disabled
2025-01-07 20:27:07 +01:00
UjinT34
830350a1f7
core: Add support for HDR and color management protocols ( #8715 )
2025-01-07 18:32:50 +00:00
95542e4488
animationmgr: fix invalid include
2025-01-07 19:13:35 +01: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
Zetta1 Reid0
c7086f936a
master: add option to show slaves on left in center orientation ( #8940 )
...
Co-authored-by: Zetta1_Reid0 <11255-Zetta1_Reid0@users.noreply.gitlab.xfce.org>
2025-01-07 17:50:34 +00:00
Pollux
b9f110ef87
shaders: fix blank windows when using corner rounding ( #8969 ) ( #8971 )
2025-01-06 19:30:57 +00:00
Byso
1bf4937b02
hyprctl: fix hyprctl --batch not working with exec rules ( #8952 )
2025-01-06 16:52:59 +00:00