Commit graph

7120 commits

Author SHA1 Message Date
3c88ac8ead desktop/window: optimize getRealBorderSize() 2026-04-04 19:00:34 -04:00
Ioannis Tzavaras
5bf2bbeda9
build: add format-check and format-fix Makefile targets (#13936) 2026-04-04 23:35:25 +01:00
97ee042757 render/opengl: optimize getShaderVariant's map access 2026-04-04 14:42:04 -04:00
9b05dc1b4c render/decoration: cache input extents as well 2026-04-04 14:42:04 -04:00
d170a627b5 render/decoration: improve extent calculations 2026-04-04 14:42:04 -04:00
Emre Bener
442ccb069d
renderer/groupbar: fix a group indicator rounding bug (#13975)
single tab edge case handled
2026-04-04 19:16:37 +01:00
af4e196583 renderer: simplify renderWorkspaceWindowsFullscreen 2026-04-04 11:53:49 -04:00
e40857fc8a render/pass: optimize simplification and blur calculations 2026-04-04 11:53:49 -04:00
4f34bd4768 renderer: don't damage decos individually in damageWindow 2026-04-04 11:53:49 -04:00
a151c67165 animation: avoid redundant damage calls in tick
animated variables would independently damage, that's redundant.
2026-04-04 11:53:49 -04:00
vyfor
13fec3de9b
render: fix SIGFPE in addWindowToRenderUnfocused when misc:render_unfocused_fps is 0 (#13973) 2026-04-04 14:06:16 +01:00
Vaxry
29cf6264a2
desktop/window: reduce window deco updates (#13980)
AVARDAMAGE_ENTIRE doesn't mean the geometry changed, so no point in an expensive update
2026-04-04 14:06:07 +01:00
43f7f683d0 debug-tools: add flame 2026-04-04 08:50:36 -04:00
b898fc1c34 cmake: add -fno-omit-frame-pointer to debug 2026-04-04 08:50:36 -04:00
Visal Vijay
49686f96c7
miscfunctions: reuse monitor pointer instead of repeated calls (#13977) 2026-04-04 13:36:58 +01:00
Ioannis Tzavaras
a3d262d148
tests: add unit tests for CTagKeeper (#13970)
Cover all public methods of the tag management helper:

- applyTag: set (+prefix), unset (-prefix), toggle (no prefix)
- applyTag with dynamic=true: star suffix appended
- isTagged: exact match, dynamic/star matching, strict mode
- isTagged: negative prefix inversion
- removeDynamicTag: removes star-suffixed entries
- getTags: returns full internal state
2026-04-04 13:26:54 +01:00
Pppp1116
2b9696eb72 renderer: skip redundant render-path work 2026-04-04 08:26:24 -04:00
Pppp1116
4c42269ce6 monitor: centralize solitary and scanout eligibility checks 2026-04-04 08:26:24 -04:00
Pppp1116
d5b00bbc17 scheduler: keep a strong monitor ref in frame callbacks 2026-04-04 08:26:24 -04:00
Pppp1116
0647b5449c protocols: avoid repeated per-client work in hot paths 2026-04-04 08:26:24 -04:00
Pppp1116
4c897c2d47 protocols: prune stale subsurface refs in hot traversals 2026-04-04 08:26:24 -04:00
f25473b21b
render: fix layer blur_popups ignoring ignore_alpha when blur is off (#13947) 2026-04-02 22:36:58 +01:00
ad906a473f
layout: revert "replace string comparison with ID-based matching in WorkspaceAlgoMatcher (#13943)"
This reverts commit 529f72249c.

It's not better, see https://github.com/hyprwm/Hyprland/pull/13943#issuecomment-4180474615

God damnit.
2026-04-02 22:34:04 +01:00
Pppp1116
a84e98d2a8
seat/compositor: fix minor issues (#13958) 2026-04-02 22:29:45 +01:00
Ioannis Tzavaras
b2a29e1bf2
tests: add unit tests for MiscFunctions helpers (#13934) 2026-04-02 22:14:42 +01:00
Aivaz Latypov
90a79dc990
i18n: update Tatar translations (#13930) 2026-04-02 22:11:10 +01:00
Vaxry
febf550a20
algo/scrolling: add expel, consume, and consume_or_expel (#13869)
ref https://github.com/hyprwm/Hyprland/discussions/13403\#discussioncomment-15972750
2026-04-02 21:10:00 +01:00
Visal Vijay
529f72249c
layout: replace string comparison with ID-based matching in WorkspaceAlgoMatcher (#13943)
* perf(layout): replace string comparison with ID-based matching in WorkspaceAlgoMatcher

* perf(layout): replace string comparison with ID-based matching in WorkspaceAlgoMatcher
2026-04-01 23:20:56 +01:00
Visal Vijay
7fbf8f9847
seat: store surface in pointerFocus before sendEnter (#13941)
ptr could expire
2026-04-01 14:29:37 +01:00
Ioannis Tzavaras
36f184ead8
tests: add unit tests for Math transform utilities (#13935) 2026-04-01 00:16:23 +01:00
Visal Vijay
ccdfa4070e
refactor: improve readability of monitor rule comparison (#13884) 2026-03-31 16:39:07 +01:00
Ioannis Tzavaras
179e1de507
tests: add unit tests for match engine types (#13903)
* tests: add unit tests for match engine types

* clang-format: fix formatting in TagMatchEngine test
2026-03-31 16:38:18 +01:00
Ioannis Tzavaras
fdd2607b9b
tests: add unit tests for Math::CExpression (#13924) 2026-03-31 16:37:49 +01:00
Ioannis Tzavaras
1fdba8a8da
tests: add unit tests for Format utilities (#13923) 2026-03-31 16:37:23 +01:00
MightyPlaza
91916a2d94
xwayland: fix compiler warnings (#13920) 2026-03-31 00:59:34 +01:00
Ioannis Tzavaras
6474f46b72
tests: add unit tests for CMonitorRuleParser (#13895) 2026-03-30 14:31:59 +01:00
f57fd6ed37
config: fix type confusion in getOption with complex types
fixes https://github.com/hyprwm/Hyprland/discussions/13915
2026-03-30 14:30:18 +01:00
bb84f4e91a nix: separate overlay with deps 2026-03-29 17:32:24 +03:00
2a16c96260
nix/tests: print gtests logs 2026-03-29 17:14:51 +03:00
Ioannis Tzavaras
43fcf1b035
CI/build: remove commented-out clang-format action (#13893) 2026-03-29 12:59:48 +03:00
UjinT34
38a7f03cf0
renderer: refactor part 7: api fixes (#13631)
Part 7 of ujin's refactors

---------

Co-authored-by: Vaxry <vaxry@vaxry.net>
2026-03-28 21:41:45 +00:00
Ioannis Tzavaras
ef2e8dfd5f
tests: add unit tests for TransferFunction helpers (#13889) 2026-03-28 21:41:14 +00:00
Ioannis Tzavaras
fdf0e7a305
tests: add unit tests for CHyprColor (#13891) 2026-03-28 21:40:44 +00:00
Ioannis Tzavaras
0be78d099b
tests: add unit tests for CMType helpers (#13888) 2026-03-28 21:40:14 +00:00
Vaxry
83d3babd4e
desktop/reserved: do not crash on invalid box init (#13880)
ref #13879
2026-03-28 21:38:10 +00:00
Ioannis Tzavaras
eb10ecf738
build: remove legacy clang-format workflow (#13887) 2026-03-28 19:16:59 +00:00
xxyangyoulin
6226f3b197
desktop/window: guard null monitor in xwaylandSizeToReal (#13876) 2026-03-28 19:07:49 +00:00
Ioannis Tzavaras
5083057016
tests: add unit tests for Direction helpers (#13885)
* tests: add unit tests for Direction helpers

* clang-format: fix leading blank line in Direction test
2026-03-28 18:28:18 +00:00
Ioannis Tzavaras
ff5c6c2430
tests: add unit tests for ByteOperations helpers (#13886)
* tests: add unit tests for ByteOperations helpers

* clang-format: fix leading blank line in ByteOperations test
2026-03-28 18:28:14 +00:00
ssareta
420ee44eed
protocols: allow xdg-foreign to be used by sandboxed apps (#13854)
* allowlist xdgForeignExporter

* also allow importer
2026-03-28 15:35:58 +00:00