Commit Graph
6390 Commits
Author SHA1 Message Date
Ross d9cf1cb78e protocols/activation: send an invalid token when serial isn't valid (#11505) 2025-08-23 11:45:00 +01:00
UjinT34 0d45b277d6 internal: Solitary clients with single subsurface & verbose solitary/tearing/DS checks (#11228)
Adds more verbose checks for various conditional rendering mechanisms
2025-08-22 18:24:25 +01:00
jmanc3 e95ba5bf59 renderer: add eRenderStage::RENDER_POST_WALLPAPER (#11501)
Comes after the wallpaper is rendered, but before all windows and docks are rendered
2025-08-22 18:19:00 +01:00
UjinT34 4e8875b5e9 hdr: scRGB, HLG and SDR -> HDR fixes (#11499) 2025-08-22 11:13:55 +01:00
Hleb Shauchenka fdf1612f0f windowrules: Add novrr dynamic window rule (#11370) 2025-08-22 10:48:42 +01:00
jmanc3 42caff5587 window: fix requestedMinSize crash (#11498)
There are cases where m_isX11 is true but m_xwaylandSurface doesn't exist.
2025-08-22 08:25:27 +01:00
vaxerski 50a242f16a config: add dim_modal
fixes #11486
2025-08-21 14:59:20 +02:00
vaxerski 1ac1ff457a touch: detach from pointer input
this detaches touch from pointer input. Touch should not affect where your cursor is, and it doesn't make much sense for it to move when we use touch
2025-08-20 13:01:31 +02:00
vaxerski 9a20206945 touch: fix popup coordinates for touch down
fixes #10626
2025-08-20 12:22:18 +02:00
Mike Will 10cec2b7e2 dwindle: simplify split_bias logic and set of possible values. (#11448) 2025-08-19 19:32:37 +01:00
Linux User d0d728c6a6 render: include numbers header (#11475)
Fixes error `no member named 'numbers' in namespace 'std'` on llvm/musl
2025-08-19 19:31:01 +01:00
Aaron Tulino 3370a6a83d monitor: fix dpms toggling animations when state is unchanged (#11480) 2025-08-19 19:30:26 +01:00
UjinT34 1d67987459 hdr: fix overrides and missing edid hdr metadata (#11476) 2025-08-19 19:28:52 +01:00
Tom Englund 1a0ed00f74 protocols/wayland: use UP and rvalue refs for callbacks (#11471)
use UP and rvalue refs in CWLCallbackResource and m_callbacks.
2025-08-18 16:42:19 +01:00
Luke Barkess 21953ddf3d hyprctl: add getprop (#11394) 2025-08-18 16:41:17 +01:00
Hato d890178610 internal: reference command-line arguments instead of copying them (#11422)
Eliminates the need to copy command-line arguments into a std::vector<std::string>, reducing memory usage and improving performance by referencing the original arguments directly.
2025-08-17 20:18:51 +01:00
Kamikadze bca96a5d3b protocols: Fix fading out windows with noscreenshare being visible (#11457) 2025-08-17 20:17:22 +01:00
vaxerski dfe58c4809 compositor: mark createNewWorkspace as nodiscard
discarding this makes the call do nothing but waste cycles
2025-08-17 20:33:04 +02:00
vaxerski e8731883a5 compositor: fix new workspace being lost in moveWorkspaceToMonitor
with the move to refcounting workspaces, createNewWorkspace would've lost the ref

fixes #11385
2025-08-17 20:33:04 +02:00
Vaxry 0840103ae0 renderer: improve modeset timings (#11461)
some CRTCs will just happily eat frames and we can't do much. Some will eat one.

Adds a 5-frame buffer to DPMS and Added animations. Better than nothing.
2025-08-17 17:14:29 +01:00
Vaxry 251288ec59 renderer: add dpms animations (#11452) 2025-08-17 08:37:13 +01:00
Vaxry 3d4dc19412 renderer: improve zoom in anims (#11453)
Removes `animations:first_launch_animation` as it's useless now
2025-08-16 20:02:15 +01:00
vaxerski 78c9e2080c framescheduler: fix edge case crashes
rare UAFs because renderMonitor can call onDisconnect (ugh, that should be changed...)

fixes #11073
2025-08-16 16:52:40 +02:00
Maaz Ahmed 1cbb62ed6a masterlayout: add previous mode for focusmaster command (#11361) 2025-08-16 14:42:23 +01:00
Martin 7580a9aaaa renderer: Add rounding power setting to groupbar and gradient roundness. (#11420) 2025-08-16 14:14:14 +01:00
Aditya Lohuni edc473e8b0 xwayland: prevent infinite event loop in XWM clipboard transfers (#11427)
Only recreate event source when onWrite() returns 1 (needs continuation).
Prevents infinite loop when no valid transfers are available, fixing high
CPU usage and error spam.
2025-08-15 18:04:39 +01:00
Nihal Jere aaedce596e protocols: implement ext-data-control (#11323)
This protocol has superseded wlr-data-control
2025-08-15 15:38:28 +01:00
vaxerski 60d769a899 internal: unify VT getting 2025-08-14 17:13:23 +02:00
Kamikadze beee22a95e refactor: Use new hyprutils casts (#11377) 2025-08-14 15:44:56 +01:00
Arnaud aa6a78f0a4 internal: Ensure unique identifiers for persistent workspaces (#11409) 2025-08-13 08:45:34 +01:00
David Baucum 2b6e2ceb2e config: Hardened config logic against Time-Of-Check race conditions (#11368) 2025-08-12 20:11:21 +01:00
Martin 449d5e1113 internal: add missing c includes (#11417) 2025-08-12 20:07:19 +01:00
vaxerski cb6589db98 misc: remove commas from device names
ref #11399
2025-08-11 20:01:33 +02:00
vaxerski 584b844aaf [gha] Nix: update inputs 2025-08-10 16:52:29 +00:00
Maxime Nordier 69c3ab1a49 tablet: do not lock focus when dnd-ing (#11390) 2025-08-10 17:51:14 +01:00
Vaxry 00da4450db renderer: minor fixups to uv calcs (#11375)
Fixes #11374
2025-08-08 16:14:02 +02:00
Iman Seyed afbd879685 configWatcher: fix inotify event reading buffer size (#11337)
Read full variable-length inotify_event structure instead of just the
fixed-size header. The previous code only read sizeof(inotify_event)
bytes, missing the trailing name field, which could cause truncated
events and undefined behavior.
2025-08-07 18:15:28 +02:00
Fazzi 6a1baa89b1 nix/lib: add bezier to topCommandsPrefixes
if any custom beziers are defined in animations, hyprland will complain
that the beziers haven't been defined. I think this change makes sense
as its likely most configurations are defining custom beziers anyway.
2025-08-07 11:27:02 +03:00
Vaxry a4529beb7c master: avoid crash if openingon null in onWindowCreated 2025-08-06 23:47:47 +02:00
Vaxry d1c8dc5420 hyprtester: drop gcc flag 2025-08-06 22:46:26 +02:00
VaxryandMihai Fufezan ec26b753a2 descriptions: fix bad json output (#11350)
---------

Co-authored-by: Mihai Fufezan <mihai@fufexan.net>
2025-08-06 16:28:07 +02:00
Sv. Lockal 0c317f2508 internal: Fix compilation with libc++ (#11355)
Build with libc++ (Clang-20, Gentoo LLVM profile) fails due to transitive include with:
```
s_Sys.cpp.o -c ../hyprland-source/hyprpm/src/helpers/Sys.cpp
../hyprland-source/hyprpm/src/helpers/Sys.cpp:24:24: error: implicit instantiation of undefined template 'std::basic_ostringstream<char>'
   24 |     std::ostringstream oss;
      |                        ^
/usr/include/c++/v1/__fwd/sstream.h:28:28: note: template is declared here
   28 | class _LIBCPP_TEMPLATE_VIS basic_ostringstream;
      |                            ^
1 error generated.
```
2025-08-06 14:01:02 +02:00
Moh Oktavi Aziz Nugraha 3c6536d932 config: format animation config as table for readability (#11326) 2025-08-05 19:31:32 +02:00
Vaxry 2859f1b795 keybinds: use the triggering keyboard for repeat timings (#11309) 2025-08-05 15:54:55 +02:00
JS Deck 2be309de1d virtualkeyboard: Add options to skip releasing pressed keys on close and to skip sharing key states (#11214) 2025-08-04 21:29:39 +02:00
WhySoBad 6491bb4fb7 hyprctl: Include physical monitor size in IPC monitor info (#11276) 2025-08-04 21:28:54 +02:00
Vaxry 1b86d35f7e popup: remove wlSurface ownership on destroy
fixes #11320
2025-08-03 22:55:02 +02:00
Vaxry 549f5e8dff popup: fix animation configs 2025-08-03 16:48:12 +02:00
Vaxry 0f1484c2f4 subsurface: check surface size in damageLastArea
akin to CPopup, which already does this
2025-08-03 16:42:54 +02:00
Vaxry f6d8e86439 popup: imorove logging, use fadeAlpha for opacity 2025-08-03 16:39:54 +02:00