Commit Graph
6331 Commits
Author SHA1 Message Date
Jerry Tan 314a0ea441 LICENSE: Update year (#11301)
Update license year from 2022-2024 to 2022-2025
2025-08-01 11:17:46 +02:00
Vaxry 9607e3b5a8 screencopy: un-hdr screencopy buffers for cm-unaware clients (#11294) 2025-07-31 18:07:59 +02:00
Vaxry a907ecd4ff opengl: improve render fn arg clarity (#11286) 2025-07-31 16:23:09 +02:00
Martin 3e35797b18 fix: add climits includes (#11288) 2025-07-31 01:12:05 +02:00
Maxime Nordier 23be1db1e3 dnd: drop on tablet pen tip up (#11270) 2025-07-30 22:37:36 +02:00
Maximilian Seidler f309d86003 session-lock: explicitly consider dpms states for sending locked or denied (#11278)
* session-lock: explicitly consider dpms states for sending locked or denied

* session-lock: check for active monitors before locking
2025-07-30 22:36:02 +02:00
ryincler 38e13282cd flake.lock: bump hyprutils 2025-07-30 18:13:28 +03:00
Vaxry 84c5e74459 build: bump hu dep to 0.8.2 2025-07-30 11:55:09 +02:00
Tom Englund 36a8b2226f renderer: use CRegion foreach over getRects (#10980)
instead of allocating and returning a vector, use forEach to directly
call a function on the rects.
2025-07-30 11:54:09 +02:00
Vaxry 43966cc787 foreign-toplevel: update monitor properly on changed
fixes #11197
2025-07-29 21:59:35 +02:00
JS Deck f51be7f201 layers: check monitor is not null on animation update (#11267) 2025-07-29 18:02:29 +02:00
Vaxry 66a6ef3859 core: disable esync for non-linux kernels
ref #10437, BSD doesn't support timeline fds
2025-07-29 17:55:56 +02:00
Vaxry 745a671ce6 input: don't reload xkb configs if settings didnt change
fixes #9105
2025-07-29 17:25:27 +02:00
Vaxry abe29647ae monitor: fix crash on mutating workspace vec
fixes #11236
2025-07-28 22:08:05 +02:00
Vaxry c63d0003a1 core: fix workspace persistence tracking (#11239) 2025-07-27 18:46:23 +02:00
Shelby Tucker 5d4b4ecbfb input: lock focus for tablet when down (#11219) 2025-07-27 15:11:45 +02:00
jmanc3 211199e864 fix: include decorations in visibleOnMonitor calculation (#11232)
Fixes: https://github.com/hyprwm/Hyprland/discussions/11203

The window turned invisible when just outside the monitor bounds, even though it should have stayed visible given its decorations.

The fix was to include the decorations when determining if a window is on a monitor.
2025-07-27 15:11:07 +02:00
Vaxry e1fff05d0d layerSurface: check for monitor validity in startAnimation
ref #11168

sometimes on exit monitor might be null
2025-07-26 11:46:07 +02:00
xqso 5c8d675eed ci: correct tar command for xz compression & fix typos (#11213) 2025-07-25 17:19:23 +02:00
Vaxry fd0c1f2ab4 keybinds: do not reset scroll timer on not passed
avoids endless lockups
2025-07-25 14:59:00 +02:00
Vaxry 31cc7f3b87 core: move workspace ptrs to weak (#11194)
Fixes some race conditions that come up in tests. We only clean up workspaces when we render a frame. With this, they are always cleared instantly.
2025-07-24 00:36:29 +02:00
mavonarxandmvonarx ecc04e8ba7 drm: check syncobj timeline support before advertising protocol (#11117)
Prevents crashes on systems where DRM driver lacks syncobj timeline
support (e.g., Apple Silicon with Honeykrisp driver). Applications
like Zed and WezTerm would crash with 'Timeline failed importing'
when trying to use explicit sync.

Fixes #8158 #8803

---------

Co-authored-by: mvonarx <matthias.vonarx@sitrox.com>
2025-07-23 23:11:07 +02:00
Vaxry c51c6e38ac tests: add a few more workspace tests 2025-07-23 20:41:38 +02:00
Florent Charpentier 55f2daa21e swipe: fix workspace swipe not rendering last frame if target ws is on edge (#11184)
Fix for a weird behaviour that happens when swipe is only valid in 1
direction (i.e. from ws 1)

When you start a swipe from the only direction possible, then swipe back
(without releasing), the last frame where the delta is reset to 0 was
not being rendered
2025-07-23 20:06:28 +02:00
Nikolaos Karaolidis 2d2a5bebff core: fix maxwidth resolution mode (#11183)
Signed-off-by: Nikolaos Karaolidis <nick@karaolidis.com>
2025-07-23 12:10:39 +02:00
Tom Englund 6ca7c14b58 CTM: check for finite value aswell (#11185)
checking for < 0.F will not catch NaN or inf values, use std::isfinite
aswell.
2025-07-23 12:09:19 +02:00
Vaxry fdbbad04bb core: enter unsafe state on boot if there are no mons 2025-07-22 11:14:12 +02:00
Karun Sandhu 873914a2a6 CI/Nix: also check for qt version in update script 2025-07-22 09:56:43 +03:00
00-KAMIDUKI 50758505d5 example: make screen shader example compatible with glsl 300 (#10846) (#11132) 2025-07-21 21:05:47 +02:00
Vaxry 462729d865 protocols/subcompositor: fix subsurface sorting (#11136) 2025-07-20 19:42:40 +02:00
Thomas Müller bf1602d9f9 renderer: implement wp-color-management-v1 transfer functions (#11084) 2025-07-20 18:20:27 +02:00
MightyPlaza d4de69381e internal: set value and goal for window size and position on setGroupCurrent (#11120) 2025-07-20 17:00:17 +02:00
MirzaSamadAhmedBaig 503fc458d8 internal: replace unsafe strcpy with snprintf (#11128) 2025-07-20 15:31:53 +02:00
Vaxry a3d59b525b systeminfo: print more render info 2025-07-20 14:51:17 +02:00
Mozzarella32 b7a91e02e9 renderer: Add cursor:invisible to allow to hide the cursor (#11058) 2025-07-20 12:40:21 +02:00
Vaxry 58b6eceb6d sessionlock: fix flipped if condition 2025-07-20 12:33:22 +02:00
Vaxry 91d8a629eb sessionlock: fix timer logic on unsafe state 2025-07-19 16:48:20 +02:00
Vaxry 8b38353012 eventloop: improve timer handling to avoid crashes
ref #11062
2025-07-19 16:47:14 +02:00
Vaxry 3b04131259 eventloop: avoid duplicate timers 2025-07-19 13:31:37 +02:00
Vaxry d84699d8e5 opengl: detect android fence support and disable explicit if it's missing (#11077)
Checks for explicit sync support via the android fences, and falls back to implicit sync if it isn't
2025-07-19 12:38:41 +02:00
MrFantOlasandAlexandre Teixeira ae3cc48f22 protocols/gamma: support pipes (#11076)
Add support for pipes and potentially other valid file descriptors. Add check for more data on the socket than the required amount as per protocol.

---------

Co-authored-by: Alexandre Teixeira <alexandre.teixeira@etu.emse.fr>
2025-07-18 23:20:17 +02:00
Radovenchyk 4adf658907 README: add link to CI from badge (#11085) 2025-07-18 21:13:56 +03:00
Mike Will 260a13a12f snap: use window extents instead of border size (#11079)
* snap: use window extents instead of border size

`border_overlap` no longer does anything for window snapping, only monitor snapping.
2025-07-18 17:35:43 +02:00
vaxerski 088e8af955 [gha] Nix: update inputs 2025-07-18 10:11:00 +00:00
Vaxry 49abc193f7 framescheduler: check monitor validity in doLater 2025-07-18 12:09:43 +02:00
Vaxry a05c797e4a compositor: properly set infinite region on null input
fixes #11065
2025-07-17 22:04:20 +02:00
Tom Englund b46dc9ee0c framescheduler: dont if check deleted weakpointer (#11063)
if m_monitor is destroyed the doOnReadable will eventually hit UB on
destruction if checking a destroyed m_monitor. acctually use the
captured mon weak pointer.
2025-07-17 21:59:20 +02:00
aphelei 75c0675e14 config: add better zoomFactor default (#11060) 2025-07-17 18:37:11 +02:00
Vaxry 49d73d1893 config: default drag_lock to 0 2025-07-16 22:39:42 +02:00
boundlessvoid0 409b56f6a3 hyprctl: make animations print details about bezier curves (#10413) (#10871) 2025-07-16 21:35:15 +02:00