3
0
mirror of https://github.com/hyprwm/Hyprland.git synced 2026-02-04 21:15:46 +00:00
Commit Graph

6731 Commits

Author SHA1 Message Date
3bbbb5aaca core: add missing headers (#12686) 2025-12-20 17:52:54 +00:00
315806f598 tablet: added option to hide cursor (#12525) 2025-12-19 16:14:22 +00:00
6175ecd4c4 debug: move to hyprutils' logger (#12673) 2025-12-18 17:23:24 +00:00
f88deb928a compositor: warn on start via a log about start-hyprland 2025-12-17 19:26:25 +00:00
18901b8e59 desktop/windowRule: force center and move rules to override each other (#12618) 2025-12-17 18:23:12 +00:00
7098558420 desktop/layer: store aboveFs property and use that 2025-12-16 16:32:37 +00:00
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
cbfdbe9fa1 desktop/popup: fix invalid surface coord 2025-12-16 15:56:04 +00:00
c94a981711 input: simplify mouseMoveUnified a tad 2025-12-16 15:55:54 +00:00
beb1b578e8 input: cleanup sendMotionEventsToFocused() 2025-12-16 15:18:53 +00:00
c5beecb2c3 desktop/popup: minor improvements 2025-12-16 15:18:53 +00:00
6e09eb2e6c desktop/windowRules: fix disabling binary window rules with override (#12635) 2025-12-15 22:19:13 +00:00
6b491e4d6b core/compositor: remove a monitor reset on cleanup (#12645)
I've tested this change with different modes from the monitor default
and validated that dpms still works, at least on my machine. If there's
a good reason why this exists, feel free to correct me, but this helps
get us closer to a flicker-free experience.
2025-12-15 21:37:48 +00:00
4036c37e55 hyprctl: add nix flag (#12653) 2025-12-15 15:59:08 +00:00
7ccc57eb7c animation: migrate PHLANIMVAR from SP to UP (#12486) 2025-12-14 19:46:49 +00:00
e4a8f2b14f renderer: add zoom with detached camera (#12548) 2025-12-14 19:42:02 +00:00
6535ff07c9 anr: don't create for anr dialogs (#12601) 2025-12-14 17:19:35 +00:00
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
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
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
5700736505 cm: handle CM for SDR content with cm=hdr, cm_sdr_eotf=2 (#12127) 2025-12-11 23:50:57 +00:00
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
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
1ff801f5f3 Nix: fix glaze build for CI and devShell (#12616) 2025-12-11 00:32:51 +00:00
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
f58c80fd39 monitor: remove monitor from list on disconnect before unsafestate (#12544) 2025-12-09 22:30:35 +00:00
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
920353370b desktop: cleanup, unify desktop elements as views (#12563) 2025-12-08 15:04:40 +00:00
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
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
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
532ca053d6 renderer/cm: higher-quality tonemapping (#12204) 2025-12-07 17:58:49 +00:00
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
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
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
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
cedadf4fdc cmake: fix XKBCOMMON variable typo (#12550) 2025-12-06 00:48:38 +00:00
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
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