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
vaxerski
47d645d84a
core: fixup includes
2025-01-17 19:14:55 +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
staz
b117fae3b4
keybinds: fix movefocus fallback for special workspaces ( #9040 )
2025-01-12 17:00:56 +00: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
vaxerski
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
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
vaxerski
8475a8ef99
core: always use goal size to send to clients
2025-01-10 14:09: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
vaxerski
b320bc2dc6
core: use cpu-buffer hw cursors on nvidia by default
2025-01-08 12:29:24 +01:00
vaxerski
308b1f3afb
core: minor fixes for animation rewrite
2025-01-07 20:30:44 +01:00
UjinT34
830350a1f7
core: Add support for HDR and color management protocols ( #8715 )
2025-01-07 18:32:50 +00:00
vaxerski
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
vaxerski
365caa49ff
keybinds: attempt to wrap around if fallback is allowed in movefocus
...
fixes #8909
2025-01-02 17:36:02 +01:00
vaxerski
94381e5999
dnd/seat: avoid sending button events during a dnd op
...
fixes #8781
2025-01-02 15:58:28 +01:00
outfoxxed
dde3e082c9
protocols: add hyprland_surface_v1 implementation ( #8877 )
2025-01-01 23:34:02 +00:00
vaxerski
deb077c346
ctm: add an internal fade animation to ctm transitions
2024-12-29 19:21:20 +01:00
Ikalco
8d4c18d723
core: refactor/improve monitor mode selection ( #8804 )
2024-12-28 13:32:04 +00:00
Avi Herman
dddb64dc35
internal: added reference to CTimer class in KeybindManager ( #8836 )
2024-12-25 19:09:45 +00:00
Vaxry
e536b02248
Renderer: rewrite render scheduling ( #8683 )
...
This rewrites renderer scheduling. Occlusion is now unified in a new Pass type.
2024-12-22 17:12:09 +01:00
Vaxry
71dc9f6128
pluginAPI: add register dispatcher v2
2024-12-19 20:23:32 +00:00
Ikalco
5b714f05f8
internal: Make static analysis more happy ( #8767 )
...
* make functions used in 1 file static
* fix invalid substr param -1
* give default initializer to borderGradier
* move RASSERT from printf to std::print
2024-12-19 02:56:01 +01:00
Vaxry
6378c8ed65
core: avoid activating toplevel-less surfaces
...
ref #8609
2024-12-18 15:01:12 +00:00
Ikalco
e2c78c00e5
internal: remove dead code ( #8748 )
2024-12-17 17:31:27 +01:00
normaltaro
bd7092a9fe
binds: cycle within group on single monitor if no window found in the argument direction. ( #8714 )
2024-12-17 17:12:38 +01:00
Vaxry
bba2d9a197
versionkeeper: init version to 0.0.0 if no file is present
2024-12-16 23:37:13 +00:00
Vaxry
b9f82e9968
animationmgr: fixup stack-use-after-return
2024-12-16 18:31:07 +00:00
Vaxry
a5234f26e4
core: drop using deques in favor of vectors
...
No point in most of these.
2024-12-16 15:58:19 +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
db24964877
xwayland: Support cross DnD from Wayland ( #8708 )
...
Adds support for drag-and-drop from Wayland clients to XWayland ones
2024-12-15 00:37:17 +01:00
Vaxry
9f7a96b997
core/data: Use pointer focus for DnD operations ( #8707 )
...
fixes #7737
2024-12-14 16:19:56 +01:00
Vaxry
35e134e570
hyprctl: add an inhibitingIdle field to windows
...
fixes #4322
2024-12-13 21:30:24 +00:00
normaltaro
452a7e6905
dispatchers: Add an option to prioritize focus change within groups with movefocus ( #8601 )
...
* modified movefocus dispatcher to prioritize focus change within groups
* pass clang-format check
* `movefocus` cycling groups set optional to config bool `movefocus_cycles_groupfirst`
* Update ConfigDescriptions.hpp
2024-12-13 21:28:57 +01:00
Mike Will
df956a0f6f
windowrules: add rules for mouse and touchpad scroll factors ( #8655 )
2024-12-11 17:27:49 +00:00
Pavel Belyavsky
4d05677e8d
config: add 'force' option for 'cursor:warp_on_change_workspace' ( #8681 )
...
* config: add 'force' option for 'cursor:warp_on_change_workspace'
* manager: throw the expression into the function arguments
* config: fix description of `cursor:warp_on_change_workspace`
2024-12-10 21:55:05 +01: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
b1e5cc66bd
core: Add support for hyprqtutils' update screen ( #8651 )
...
* Nix: add hyprland-qtutils to PATH
* flake.lock: update
---------
Co-authored-by: Mihai Fufezan <mihai@fufexan.net>
2024-12-06 15:45:02 +01:00
Vaxry
3c617ce33c
internal: fixup some missed updateColorsOk() calls
2024-12-03 22:58:30 +00:00
Vaxry
320144ae72
core: move colorspace handling to oklab ( #8635 )
...
* Meson: add hyprgraphics
* Nix: add hyprgraphics
* CI/setup_base: get hyprgraphics-git
---------
Co-authored-by: Mihai Fufezan <mihai@fufexan.net>
2024-12-03 18:58:24 +00:00
littleblack111
ef6b0c81c9
cleanup: remove leftover var in ThreadManager.cpp ( #8611 )
2024-11-30 16:40:23 +00:00
Vaxry
8b51eeb7ae
core: fix compilation outside stdlibc++
...
fixes #8603
2024-11-28 14:31:43 +00:00
Andre Toerien
5329298b52
sessionLock: don't send motion events on every surface commit ( #8584 )
2024-11-27 19:59:00 +00:00
Ikalco
1fb720b62a
seat: fix double scrolling in some applications ( #8583 )
2024-11-26 13:52:43 +00:00