Commit Graph
6770 Commits
Author SHA1 Message Date
Tom Englund fab3370254 renderer: minor framebuffer and renderbuffer changes (#12831)
* framebuffer: dont release if format or size changes

we dont have to release and recreate both the texture and framebuffer if
size or format changes, we can just bind the texture and call glTexImage2D
with the new format and size.

* framebuffer: set the alloced viewport size

if monitor size mismatch with the allocated m_size its going to set a
mismatched viewport and cause rendering issues. and if they are
mismatching there is a missing alloc call.

* renderbuffer: cleanup unneded binds

the renderbuffer is attached to the fbo and trying to rebind it in
bind() is causing unnecessery state changes, just bind the fbo.

add safeguard in the destructor, the constructor can return early on
failure and leave m_rbo empty or m_image as EGL_NO_IMAGE_KHR.
2026-01-03 15:13:01 +01:00
Dmytro Budnyk ee67278038 hyprerror: fix horizontal overflow and damage box (#12719)
* hyprerror: fix horizontal overflow and damage box

* hyprerror: remove redundant m_queued preservation logic

The logic to save and restore m_queued into a temporary string 'q' was redundant because m_queued is explicitly cleared at the end of createQueued() (line 164). Restoring it to a non-empty state would cause createQueued() to be called every frame in draw(), which is not the intended behavior for the static error bar.

* Fixes style
2026-01-02 20:10:47 +01:00
Vaxry b9bd9d147f desktop/layerRuleApplicator: fix an epic c+p fail
ref https://github.com/hyprwm/Hyprland/discussions/12779
2026-01-02 18:17:35 +01:00
Vaxry ec4beb1b39 core/xwaylandmgr: fix min/max clamp potentially crashing 2026-01-02 14:06:46 +01:00
Vaxry 31d3181e1e dekstop/window: read static rules before guessing initial size if possible (#12783) 2026-01-01 21:49:57 +01:00
Vaxry 9b93d621b1 desktop/window: use workArea for idealBB (#12802) 2026-01-01 16:48:23 +01:00
Vaxry bd7f9aad05 input/ti: avoid sending events to inactive TIs
ref https://github.com/hyprwm/Hyprland/discussions/12105
2026-01-01 14:48:32 +01:00
Vaxry 48a024e032 desktop/window: remove old fn defs 2025-12-31 18:17:10 +01:00
Vaxry bd02178e96 desktop/LS: avoid creating an invalid LS if no monitor could be found (#12787) 2025-12-31 18:13:42 +01:00
skrmc 214fdb099c input: guard null view() when processing mouse down (#12772) 2025-12-31 14:00:11 +01:00
ArchSav d622c09d09 tester: fix sleeps waiting for too long (#12774) 2025-12-31 13:08:40 +01:00
Vaxry 529559712b desktop/window: go back to the previously focused window in a group (#12763) 2025-12-30 18:02:34 +01:00
Vaxry 293d3e5de9 desktopAnimationMgr: fix slide direction
ref https://github.com/hyprwm/Hyprland/discussions/12744
2025-12-30 14:09:13 +01:00
ArchSav f8464866eb keybinds: add inhibiting gestures under shortcut inhibitors (#12692) 2025-12-30 13:45:56 +01:00
Vaxry ea444c35bb version: bump to 0.53.0 v0.53.0 2025-12-29 16:21:36 +01:00
UjinT34 6a055fc747 cm: allow force disabling WCG and HDR per monitor (#12733) 2025-12-28 14:44:04 +01:00
Ikalco a8452705d6 gitignore: add hyprland.desktop generated by cmake 2025-12-27 23:23:32 +02:00
Aditya Singh e5d20b56bc keybinds: simulate mouse movement after bringing active window to top (#12703)
Fixes https://github.com/hyprwm/Hyprland/discussions/12702
2025-12-27 21:27:59 +01:00
UjinT34 5faa66d297 protocols/cm: fix CColorManagementSurface m_imageDescription init (#12734) 2025-12-27 20:25:57 +01:00
Vaxry 610c59dc34 opengl: properly combine transforms in renderTexture
ref #12666
2025-12-27 20:18:57 +01:00
UjinT34 e5f22c06b4 master: fix placement with center_ignores_reserved (#12695) 2025-12-27 19:17:51 +01:00
UjinT34 6d3b17ee83 render/cm: various updates, remove old protocols (#12693)
* fix named primaries

* default to gamma22

* mark mastering primaries as supported

* remove xx-cm and frog support

* immutable primaries and image descriptions

* clang-format
2025-12-27 18:01:46 +01:00
Vaxry 42447a50d6 rules/windowRuleApplicator: fix min/max size effects (#12491)
fixes #12412
2025-12-27 12:43:45 +01:00
Mr. Goferito d7f26038ee keybinds: fix multikey binds breaking after scroll wheel events (#12638) 2025-12-26 23:16:31 +01:00
Vaxry 33df518f97 input: fix pending perm keyboards being enabled
fixes #12359
2025-12-26 16:08:31 +01:00
Mihai Fufezan 9ea565054a example/hyprland.desktop: fix path 2025-12-26 14:39:29 +02:00
Mihai Fufezan 1f1a39d46c example/hyprland.desktop: install with full path in Exec 2025-12-25 20:36:32 +02:00
Mihai Fufezan 14c49230cc Nix: re-enable uwsm desktop file 2025-12-25 20:36:32 +02:00
Vaxry 2525052779 start: avoid crash in dtor after forceQuit 2025-12-24 20:27:00 +01:00
Vaxry f7f357f15f keybindmgr: fix focusCurrentOrLast 2025-12-23 15:04:56 +01:00
Vaxry abffe75088 desktop/window: improve fullscreen handling for grouped windows
fixes #12700
2025-12-22 17:53:28 +01:00
Vaxry 60efbf3f63 desktop/ls: only update the ls in question for commit to change layer 2025-12-21 23:50:53 +01:00
UjinT34 712bcfbce5 protocols/xdg-shell: fix crash on null parent in pin (#12694) 2025-12-21 14:21:51 +01:00
boinq c87a1a7629 i18n: add Danish translation (#12333) 2025-12-20 22:18:22 +00:00
ArchSav 7bd207377c window: automatically pin child windows (#12224) 2025-12-20 22:17:56 +00:00
Vaxry b9bef69554 Desktop/history: Move history to desktop (#12676) 2025-12-20 22:16:13 +00:00
Vaxry 70f54a1e1b animationmgr: avoid possible uaf in handling anim updates 2025-12-20 19:13:04 +00:00
EvilLary f6c5c659a7 i18n: Add Arabic translations for safemode (#12670)
* i18n: Add Arabic translations for safemode

* update
2025-12-20 17:57:19 +00:00
vaxerski c23a0c20a4 [gha] Nix: update inputs 2025-12-20 17:54:34 +00:00
dylanetaft 3bbbb5aaca core: add missing headers (#12686) 2025-12-20 17:52:54 +00:00
fuyu147 315806f598 tablet: added option to hide cursor (#12525) 2025-12-19 16:14:22 +00:00
Vaxry 6175ecd4c4 debug: move to hyprutils' logger (#12673) 2025-12-18 17:23:24 +00:00
Vaxry f88deb928a compositor: warn on start via a log about start-hyprland 2025-12-17 19:26:25 +00:00
Lichie 18901b8e59 desktop/windowRule: force center and move rules to override each other (#12618) 2025-12-17 18:23:12 +00:00
Vaxry 7098558420 desktop/layer: store aboveFs property and use that 2025-12-16 16:32:37 +00:00
SASANO Takayoshi 59438908de i18n: more natural Japanese translation (#12649)
* more natural Japanese translation

* src/i18n/Engine.cpp: change パーミッション -> 権限, fix TXT_KEY_SAFE_MODE_BUTTON_UNDERSTOOD Japanese translation

* src/i18n/Engine.cpp: clang-format processed
2025-12-16 16:13:26 +00:00
Vaxry cbfdbe9fa1 desktop/popup: fix invalid surface coord 2025-12-16 15:56:04 +00:00
Vaxry c94a981711 input: simplify mouseMoveUnified a tad 2025-12-16 15:55:54 +00:00
Vaxry beb1b578e8 input: cleanup sendMotionEventsToFocused() 2025-12-16 15:18:53 +00:00
Vaxry c5beecb2c3 desktop/popup: minor improvements 2025-12-16 15:18:53 +00:00