Commit graph

6714 commits

Author SHA1 Message Date
Luke Barkess
05ccbb2f2d
hyprpm: added plugin author (#12594) 2025-12-14 17:16:58 +00:00
09e195d1f2
compositor: fix isPointOnReservedArea 2025-12-13 13:55:49 +00:00
fd5e790d08
compositor: return nullptr when cursor is outside of a maximized windows' box 2025-12-13 13:55:48 +00:00
Tom Englund
69db0bcae6
compositor: early return on no monitor (#12637)
getMonitorFromVector can return nullptr on empty m_monitors, as such is
the case when the compositor is going down and a surface exist. return
early in vectorToWindowUnified if that happends.
2025-12-12 12:47:56 +00:00
Tom Englund
8dfdcfb353
compositor: dont try to focus unmapped window (#12629)
* compositor: dont try to focus unmapped window

if lastwindow is unmapped it hits getWindowInDirection and nullptr
derefs window->m_workspace. and coredumps. triggered by dual monitor and
one client on each surface with a combination of animation and
killactive / movefocus keybind.

* keybindmgr: use newly added aliveAndVisible()

use newly added aliveAndVisible() over visible()
2025-12-11 23:59:47 +00:00
Dominick DiMaggio
5700736505
cm: handle CM for SDR content with cm=hdr, cm_sdr_eotf=2 (#12127) 2025-12-11 23:50:57 +00:00
Tom Englund
75f6435f70
window: only damage floating on clamped size change (#12633)
currently it damage the entire window if its floating and not x11 nor
fullscreen meaning damage isnt working at all for floating. im tracing
this back to a364df4 where the logic changed from damaging window only
if size was being forced to now unconditonally doing it.

change clampWindowSize to return as a bool if size changed and only
damage window if it got clamped.
2025-12-11 18:54:43 +00:00
Vaxry
5dd224805d
desktop/view: use aliveAndVisible for most things (#12631) 2025-12-11 16:29:26 +00:00
2ca7ad7efc
ci: disable comments for members 2025-12-11 12:40:02 +00:00
9aa313402b
protocols/datadevice: avoid double leave
ref https://github.com/hyprwm/Hyprland/discussions/12494
2025-12-11 00:50:45 +00:00
Maximilian Seidler
1ff801f5f3
Nix: fix glaze build for CI and devShell (#12616) 2025-12-11 00:32:51 +00:00
Tom Englund
3cf6dfd7e6
opengl: default initialize m_capStatus (#12619)
ubsan reports under wonky situation a runtime error of uninitialized
value lookups because of m_capStatus isnt initialized. so default
initialize it.

OpenGL.cpp:3331:26: runtime error: load of value 190, which is not a valid value for type 'bool'
2025-12-11 00:32:11 +00:00
EvilLary
f58c80fd39
monitor: remove monitor from list on disconnect before unsafestate (#12544) 2025-12-09 22:30:35 +00:00
Aureus
6712fb954f
cmake: only use system glaze package if above version 6.0.0 (#12559) 2025-12-09 12:44:02 +00:00
efe665b455
protocols/compositor: fix null deref on unassigned surface image desc
ref #12603
2025-12-08 22:49:53 +00:00
Vaxry
920353370b
desktop: cleanup, unify desktop elements as views (#12563) 2025-12-08 15:04:40 +00:00
Hasan Arthur Altuntaş
834f019bab
cmake: fail if scripts/generateShaderIncludes.sh fails (#12588) 2025-12-08 13:49:23 +00:00
a5b7c91329
ci: run pr comment in target 2025-12-07 21:05:10 +00:00
byddha
916e5d1aea
renderer/cm: make needsHDRupdate per-monitor state (#12564)
Co-authored-by: drzbida <55928036+drzbida@users.noreply.github.com>
2025-12-07 20:47:27 +00:00
Matias Paavilainen
9584b2d40e
i18n: Added Finnish translations (#12505)
* desktop/overridableVar: improve performance

drop usage of ::map which sucks performance-wise

* Added Finnish translations

* Revised translations, and fixed html tags.

---------

Co-authored-by: Vaxry <vaxry@vaxry.net>
2025-12-07 20:47:20 +00:00
Dominick DiMaggio
532ca053d6
renderer/cm: higher-quality tonemapping (#12204) 2025-12-07 17:58:49 +00:00
Nikolai Nechaev
ca99e8228c
internal/start: More careful signal handling (#12573)
- Take out signal set up into a subroutine;

- Use `sigaction` instead of `signal` for consistent behavior across UNIX platforms;

- Enable a warning when a signal handler set up fails;

- Don't do anything to SIGKILL, since it cannot be handled.
2025-12-07 17:53:24 +00:00
Khing
8ca40479a7
desktop: Update Exec command for UWSM Hyprland desktop entry (#12580)
* Update Exec command for UWSM Hyprland desktop entry

This is from the comment in https://github.com/hyprwm/Hyprland/pull/12484 

https://github.com/hyprwm/Hyprland/pull/12484#issuecomment-3621979533

* Update hyprland-uwsm.desktop dumb me
2025-12-07 17:48:14 +00:00
c26e91f074
ci: fix yaml file 2025-12-07 17:29:07 +00:00
Nikolai Nechaev
76ac655c9e
CI: add the start PR label for start-hyprland (#12574) 2025-12-07 10:49:12 +00:00
f8d5aad1a1
tests: fix a test case 2025-12-06 12:42:26 +00:00
b8bb5e9bde
renderer: avoid crash on arrangeLayers for an empty mon 2025-12-06 11:34:04 +00:00
vaxerski
7797deb935 [gha] Nix: update inputs 2025-12-06 11:33:40 +00:00
d3c9c54b79
layouts: fix maximize size 2025-12-06 11:32:01 +00:00
norinorin
cedadf4fdc
cmake: fix XKBCOMMON variable typo (#12550) 2025-12-06 00:48:38 +00:00
Nikolai Nechaev
222dbe99d0
keybinds: fix previous workspace remembering (#12399)
* swipe: Fix previous workspace remembering in workspace gesture

Fixes a bug that previous workspace does not exist after swiping to a workspace

* tests: Test that `workspace previous` works after workspace gesture

* moveActiveToWorkspace: remember previous workspace unconditionally
2025-12-05 20:43:30 +00:00
EvilLary
ebe74be75a
dispatcher: include mirrors of monitor in dpms (#12552)
* dispatcher/dpms: include mirrors

* use m_realMonitors instead
2025-12-05 20:29:39 +00:00
afeda6cee6
ci: add new pr comment workflow 2025-12-05 20:29:02 +00:00
6a1daff5f3
example/config: use hyprshutdown if available 2025-12-05 17:48:45 +00:00
Vaxry
016eb7a23d
start: init start-hyprland and safe mode (#12484) 2025-12-05 15:40:03 +00:00
Zeide
ec6756f961
cmake: add missing space (#12549) 2025-12-05 15:03:10 +00:00
Vaxry
9264436f35
desktop: rewrite reserved area handling + improve tests (#12383) 2025-12-05 14:16:22 +00:00
SAM
d5c52ef58e
renderer/cm: fix typo on color simage description op (#12551)
fix: typo on color simage description op
2025-12-05 14:11:52 +00:00
Gilang ramadhan
52b3c8cbc6
i18n: add Indonesian translations (#12468) 2025-12-04 20:42:13 +00:00
Aivaz Latypov
279a07c2ce
i18n: add Tatar translations (#12538) 2025-12-04 18:06:17 +00:00
Hleb Shauchenka
17ae3fb704
pointer: apply locked pointer workaround only on xwayland (#12402) 2025-12-04 18:05:50 +00:00
Björn Kettunen
43ed0db3b3
cmake: track dependencies in pkgconfig file (#12543)
Depedencies where not tracked in the pkgconfig leading to programs
who scan dependencies using it to fail/not track them.

I noticed this while building Hyprland on openSUSE where the -devel
package didn't include the dependencies it once had when Meson was
used previously.
2025-12-04 18:04:20 +00:00
jmanc3
38f912c401
renderer: remove unnecessary assert from renderRoundedShadow (#12540) 2025-12-04 18:03:12 +00:00
Vaxry
9cd070fd31
hyprpm: check for abi strings in headersValid (#12504)
---------

Co-authored-by: Virt <41426325+VirtCode@users.noreply.github.com>
2025-12-04 18:00:15 +00:00
Vaxry
d9657a95cb
hyprctl: use new hyprpaper ipc format (#12537)
---------

Co-authored-by: Mihai Fufezan <mihai@fufexan.net>
2025-12-04 17:59:47 +00:00
9b1891e476
desktop/overridableVar: fix possible crash 2025-12-03 22:43:26 +00:00
Vaxry
93e5e92b0a
crashReporter: cleanup code (#12534)
various code cleanups, reorders, move off of global NS
2025-12-03 16:01:45 +00:00
UjinT34
3cf0280b11
renderer: add quirks:prefer_hdr to fix HDR activation for some clients (#12436) 2025-12-03 01:30:43 +00:00
Vaxry
2cadc8abab
welcome: init welcome manager (#12409)
---------

Co-authored-by: Mihai Fufezan <mihai@fufexan.net>
2025-12-02 22:26:43 +00:00
littleblack111
f82a8630d7
desktop/rules: tag static rule being ignored (#12514)
* chore: apply exec rules after removal and use CWindowRule

* refactor: unregister exec rules after applying them

Remove the unused toRemove vector and defer unregistering exec rules
until after applyStaticRule/applyDynamicRule so exec rules are applied
before being removed from the rule engine.
2025-12-01 16:47:59 +00:00