Commit Graph
7389 Commits
Author SHA1 Message Date
Vaxry db9616d659 AGENTS: include m_ rule 2026-05-30 11:36:36 +02:00
VaxryandGitHub e43b163f79 hyprctl: add config full-reload for performing a ground-up reload (#14748)
allows to switch to/from lua at runtime
2026-05-30 10:28:37 +01:00
VaxryandGitHub 08b5c22b8f desktop/window: allow focus while held to non-OR X11 windows (#14821)
the drag bug only happens on OR windows, so we should just skip those. Regular toplevels should be focusable.
2026-05-30 10:27:58 +01:00
VaxryandGitHub 9940bf7246 config/propRefresher: schedule frames on screen shader refresh (#14874) 2026-05-30 10:24:54 +01:00
davc0nandGitHub 99306c247f config: add path in stdout log disabling message (#14793)
* config: add path in stdout log disabling message

* config: expand path in stdout log disabling message
2026-05-30 08:54:21 +01:00
VaxryandGitHub 18ca56b841 core: fix a few fd leaks (#14870)
* core: fix a few fd leaks

ref #14839

* core: fix a few fd leaks

ref #14839
2026-05-30 08:26:54 +01:00
vperusandGitHub d938fbf3c0 debug: replace sizeof(x)/sizeof(x[0]) with std::size (#14871) 2026-05-30 08:26:44 +01:00
VaxryandGitHub 0dcec0c727 protocols: bump xdg-decoration to rev 2 (#14869) 2026-05-30 08:26:31 +01:00
fazziandGitHub cbcddf2848 monitor: revert "set format back after failing DS activation (#14168)" (#14864)
This reverts commit 84d45bd13a.
2026-05-29 13:38:44 +01:00
AwusedandGitHub 54d4d3a974 desktop/window: fix wrong scale being applied after workspace rules (#14832) 2026-05-29 13:26:40 +01:00
ac7c8b93f7 binds/submap: fix submap enter bind == bind inside submap (#14856)
* Only process submap bindings if its the same on press

Move the check below the pattern match and check if the key was pressed

Address comment: Remove {}

Remove the new submap check and replace the old one

* tests/keybinds: add additional submap testcase

This tests for cases where the keybind to enter the submap is also bound inside it

---------

Co-authored-by: 0xdeadcode-arch <code.akshat.thukral@gmail.com>
2026-05-29 13:19:25 +01:00
Tom EnglundandGitHub d03f01f92a desktop/popup: fix reposition artifacts (#14820)
visible() m_alpha check was reversed, m_lastPos cant be set in
onReposition() and then later used in onCommit() it means its can be
ahead of time and use wrong cords. also expand the damage box by 4 like
done elsewhere.
2026-05-29 13:14:24 +01:00
Tom EnglundandGitHub 558936e238 renderer: send frame callbacks on presented if no change (#14849)
some very picky clients like firefox expects a frame callback to
continue rendering and send buffers, if the frame is returning early
because no change its not going to recieve it, this becomes very
noticeable on a single firefox window and using new_render_scheduling
where it renders the monitor one extra time where occasionally nothing
had really changed.
2026-05-29 10:16:32 +01:00
umbrageodotusandGitHub ebc1816dfb xwayland: fix ICCCM synthetic event comparison (#14827) 2026-05-28 16:48:28 +01:00
Ivo ŠmerekandGitHub faecc5950a config/monitor: allow per-monitor vrr to inherit misc:vrr (#14746)
* config/monitor: allow per-monitor vrr to inherit misc:vrr

Signed-off-by: BlueManCZ <ivo97@centrum.cz>

* keep std::optional<int> for m_vrr

Signed-off-by: BlueManCZ <ivo97@centrum.cz>

---------

Signed-off-by: BlueManCZ <ivo97@centrum.cz>
2026-05-28 13:55:44 +01:00
AwusedandGitHub 293aa7c118 protocols/fractional-scale: track if scale is known and send scales eagerly when known (#14798) 2026-05-28 13:51:15 +01:00
ImperishableSecretandGitHub 6fcfd9d6dd screencopy: fix screenshare copyfb pending frames (#14837)
* screenshare: only copy fb for pending frames

* render: track stale mirror framebuffer damage
2026-05-28 13:46:54 +01:00
Tom EnglundandGitHub 023169e1be drm: refactor merging and exporting fences (#14808)
lets move them to drm helper instead of reinventing the wheel twice.
2026-05-27 21:49:24 +01:00
Bart NagelandGitHub 898b8779f1 i18n: Adjust some awkward English (#14831) 2026-05-27 21:49:06 +01:00
VaxryandGitHub 2896aa98bd AGENTS: add agents.md (#14835)
Adds an `AGENTS.md` file:

- will be used by manual (for now) codex reviews - I wanna try it out and see if it can help us. OpenAI has generously given me Codex for OSS, might as well try the reviews out.
- will help people contributing with mostly mundane project-specific code guidelines, which an LLM can check and spot.
2026-05-27 21:33:28 +01:00
Vaxry f3d81e017d code: fix clang-format 2026-05-27 18:10:06 +02:00
Ahmed KallelandGitHub 864dc89c95 input: aggregate modifier states from all keyboards on focus enter (#14633)
* fix: aggregate modifier states from all keyboards on focus enter

* hyprtester: add keyboard modifier merging e2e test

* nix: install keyboard-modifiers client binary for tests
2026-05-26 14:24:28 +01:00
MintandGitHub 3e9b2dd172 tests: some code improvements (#14774)
* tests: fix TODO, move plugin tests to misc/

* tests: some small refactoring

* tests/log: added error and info

* tests: added test for spawnKitty
2026-05-26 14:23:37 +01:00
MintandGitHub 5fc23ab21e layout/scrolling: check if cursor overlaps with target in focusOnInput (#14687)
* layout/scrolling: check if cursor overlaps with target in focusOnInput

* test
2026-05-26 14:23:26 +01:00
samsyu518andGitHub 76b9f4c798 compositor: fix monitor re-enabling on hotplug when dpms is off (#14818) 2026-05-26 14:23:08 +01:00
erstarrandGitHub bb3353f864 layout/scrolling: fix prop refresh triggering hard input (#14594) 2026-05-25 18:15:08 +01:00
Yingjie WangandGitHub 457eb66dfb hyprpm: allow distro packagers to provide extra cflags for building plugins (#14755) 2026-05-25 16:34:56 +01:00
AwusedandGitHub d8008a8168 layersurface: inform layer surfaces of scale changes (#14771)
* layersurface: inform layer surfaces of scale changes

* monitor: move surface scale and transform updates into their own method

* layersurface: ensure layer subsurfaces have scales set on map/commit
2026-05-25 09:32:57 +01:00
UjinT34andGitHub 2dcb10a4c0 internal: pass lua includes to hyprtester plugin (#14747) 2026-05-24 12:30:15 +01:00
Ivo ŠmerekandGitHub d5ff0f080e config: fix VRR not applying on runtime change (#14744)
* config/values: refresh monitor states on misc:vrr change

`misc:vrr` was missing a `.refresh` annotation, so `refreshBits()` returned 0 and runtime changes via the Lua `hl.set` path never triggered a monitor refresh — the value updated but VRR wasn't applied until a config reload.

Tag the option with `REFRESH_MONITOR_STATES`, which the Lua dynamic-set path schedules (`LuaBindingsConfigRules.cpp`), tripping `PropRefresher` -> `monitorRuleMgr()->ensureVRR()`.

* config/monitor: call ensureVRR after performMonitorReload

`performMonitorReload` swaps `m_activeMonitorRule` via `applyMonitorRule`, but never re-runs `ensureVRR()` for the now-current rule. The PropRefresher does call `ensureVRR()`, but earlier — before `applyMonitorRule` has updated `m_activeMonitorRule.m_vrr` — so it reads the previous setting and the monitor stays on the old VRR mode.

Call `ensureVRR()` after the reload loop completes, matching the contract documented in `CMonitor::applyMonitorRule` ("will be tested in CConfigManager::ensureVRR()").

* clang-format fix

Signed-off-by: BlueManCZ <ivo97@centrum.cz>

---------

Signed-off-by: BlueManCZ <ivo97@centrum.cz>
2026-05-24 12:03:13 +01:00
Luca D'IntronoandGitHub abd4abb5e6 i18n: completed italian translation and fixed some previous italian translation inaccuracies (#14763) 2026-05-23 20:52:57 +01:00
VaxryandGitHub 55b404b0a1 algo/master: guard target in remove (#14756) 2026-05-23 13:13:57 +01:00
Tuur VanhoutteandGitHub 342f5bd9a3 input: fix inverted scrollwheel direction in keybinds (#14749) 2026-05-22 20:46:12 +01:00
vaxerskiandgithub-actions[bot] ab567fc880 [gha] Nix: update inputs 2026-05-22 18:41:57 +00:00
VaxryandGitHub 4c15c1c946 protocols/background-effect: don't automatically destroy object on surface destroy (#14758) 2026-05-22 19:40:26 +01:00
erstarrandGitHub 48453f278f cleanup: remove comment made for self (#14724) 2026-05-22 19:38:59 +01:00
UjinT34andGitHub 040535def0 compositor: fix render unfocused for subsurfaces (#14718) 2026-05-22 19:31:15 +01:00
fazziandGitHub 0fd20be8de desktop/windowRule: add no_auto_hdr window rule (#14694) 2026-05-22 19:29:28 +01:00
VaxryandGitHub be2659c1b9 keybinds: store hit binds first, then execute callbacks (#14743)
lua can invalidate the m_keybinds vec in callbacks
2026-05-22 11:10:34 +01:00
VaxryandGitHub c5154131b1 config/lua: report errors better without check* (#14695) 2026-05-22 10:39:15 +01:00
zacoonsandGitHub 4c89bfc2c9 renderer: add wrapping options to SRenderData (#14666)
* renderer: add wrapping options to SRenderData

* renderer: change storage of discardMode from uint32_t to uint8_t
2026-05-22 10:38:47 +01:00
Vaxry 8b7110cc68 screenshare: revert "only copy fb for pending frames (#14672)"
This reverts commit ba47337592.

Bugs on high-refresh-rate.
2026-05-21 21:40:27 +02:00
neonetizenandGitHub dded402478 internal: fix null deref in setWindowFullscreenInternal when fullscreen state stale (#14725) 2026-05-21 20:30:39 +01:00
CatNowBlueandGitHub ba578321e8 docs/hyprctl: update example code for hyprctl dispatch (#14656)
* docs/hyprctl: Update example commands for hyprctl dispatch

Vaxry decided that this is an expected behavior in https://github.com/hyprwm/Hyprland/discussions/14255

I decided to update documents to follow the new dispatch syntax

* docs/hyprctl: hyprctl man page with new examples and notes

Added examples for dispatch command and noted lua config limitation.

* docs/hyprctl: update hyprctl documentation with 'eval' command

* docs/hyprctl: document 'eval' command for Lua-based config
2026-05-21 20:30:16 +01:00
David EhnertandGitHub 95d9ae23e0 config/monitor: refresh splash texture on monitor reload (#14632) 2026-05-21 14:55:20 +01:00
fazziandGitHub 51d2bb9dde renderer: minor shader fixes (#14584)
* renderer: correctly transpose BT2020toLMS and its inverse

* renderer: fix blur and fade out in HDR
2026-05-21 11:11:33 +01:00
leiserfgandGitHub 1c0a7d180d config/lua: add physicalWidth and physicalHeight to lua's Monitor (#14657) 2026-05-20 21:08:56 +01:00
erstarrandGitHub 203a121537 scrolling/fullscreen: fix fullscreen/maximise behaviour, existing bugs with scrolling fullscreen (#14387)
* set maximise fullscreen_state internal

* maximise also setLayoutManagedFullscreen

Adjust uses of the function to work with change

* Adapted to work with both FS and MAXIMISED:
syncFullscreenTargets() --> syncs both types of FS mode targets

fullscreenStateForTarget() -> gets the FSState of a window of a certain FSMode

fullscreenStateForData() -> similar to above

requestFullscreen():
-> saves the col of maximised windows.
-> centerOrFit the Maximised window

* handle Maximise

* maximise restores size

* note a bug location

* remove redudancies, add comment

* cleanup

* fix gaps with maximise.

format

* maximise test

* fix floating FS window not able to be FSed when a tiled window is FSed

* format

* fix bug shared column bugs
2026-05-19 12:33:45 +01:00
LichieandGitHub 38a9f5b9ef desktop/windowRule: use original monitorstr if not silent (#14621) 2026-05-19 12:21:23 +01:00
Aaron BlaskoandGitHub 004fbb16ab i18n: update italian translation (#14556)
* i18n: update italian translation

added cursor position permission request

* oops
2026-05-19 12:15:23 +01:00