239cdd67fd
socket2: fix order of window events on map ( #10341 )
2025-05-08 22:10:31 +02:00
f01e3043b8
desktop: cleanup code and use std::ranges ( #10289 )
2025-05-08 21:01:49 +02:00
04c98abd1f
layout: properly assign workspace and monitor when moving a child to the parent ( #10338 )
2025-05-08 21:00:28 +02:00
53bfb92d65
layout: allow interacting with pinned windows when fullscreened ( #10326 )
...
* layout: allow interacting with pinned windows when fullscreened
* IHyprLayout: format code
* e
2025-05-08 20:59:51 +02:00
f909b0f114
opengl: fix legacyrenderer
2025-05-08 18:22:44 +01:00
fa1e343b04
compositor: set fullscreenstate on movetoworkspace ( #10303 )
...
modified: src/managers/KeybindManager.cpp
2025-05-08 18:29:47 +02:00
22b12e3013
refactor: cshader class to sshader struct ( #10324 )
2025-05-08 00:07:35 +02:00
6abb5b0c7e
renderer: precompute fullalpha ( #10319 )
...
precompute it once instead of calculating it every single call, was showing
up as a lot of time wasted in profiling.
2025-05-07 19:02:07 +02:00
0dfcba9825
DMABuffer: reserve vector and avoid UB ( #10317 )
...
actually reserve the vector instead of initializing it with the
m_attrs.fd.size() adding 4 invalid fd entries, and later emplace_back
the valid ones.
sync_merge_data name is defined as char name[32] a fixed size array, and
c++ technically doesnt allow assigning string literals directly to array
fields in aggregate initializers, it may compile but is technically
undefined behaviour or ill formed. zero initalise it and use
std::ranges::copy_n instead.
2025-05-07 18:15:27 +02:00
e5df8cdc62
xwayland: refactor class member vars ( #10312 )
...
* xwayland: refactor class member vars
* xwayland: fix pure wayland build
2025-05-07 15:21:44 +02:00
948277895e
popup: damage old size on unmap as well as new ( #10306 )
...
fixes #10305
chromium for some reason sets the popup size to like 8x8 at the same time as unmapping
2025-05-06 21:49:20 +02:00
1ce614dfc0
animations: Add option for animating workspaces as if the first and last were adjacent ( #10277 )
...
* add option for animating workspaces as if the first and last were adjacent
* change wraparound detection to use IDs instead of dispatcher
* move shouldWraparound from MiscFunctions to Monitor
2025-05-06 03:54:27 +02:00
930eeac900
window: use stored size for new floating window when persistentsize is set ( #10212 )
...
* fix(window): use stored size for new floating window when persistentsize is set. fix hyprwm#9422.
* fix: replace `std::any_of` with `std::ranges:any_of`
* fix: use initialClass and initialTitle when storing sizes on close
* fix: add `xdgTag` as a new indicator
* fix: no {}
* fix: format with clang-format
2025-05-06 03:53:43 +02:00
ec93f8a1cd
socket2: add monitorremovedv2 event ( #10229 )
2025-05-06 03:52:36 +02:00
997fefbc11
render: refactor class member vars ( #10292 )
...
* render: refactor class member vars
* render: fix clang format
2025-05-05 23:44:49 +02:00
c7eb141098
renderer: always try to apply a mode if pixel size is invalid ( #10291 )
2025-05-05 23:40:37 +02:00
9cd5b25745
protocols: refactor class member vars (u-z) ( #10282 )
...
* protocols: refactor class member vars (u-z)
* protocols: fix clang format
2025-05-04 23:39:00 +02:00
78ff20ddf0
workspaces: Fix empty flag not selecting active workspace ( #10237 )
2025-05-04 19:22:41 +02:00
2626f89ea6
protocols: refactor class member vars (n-t) ( #10273 )
2025-05-04 19:21:36 +02:00
adbae0f74d
protocols: refactor class member vars (a-m) ( #10265 )
2025-05-04 00:13:29 +02:00
46ac115bd1
protocols: refactor class member vars (types) ( #10261 )
2025-05-03 18:54:50 +02:00
3465efcdc1
internal: Use vecnotinrect instead of !vecinrect ( #10262 )
...
* monitor: use vecnotinrect
* inputmanager: vecnotinrect
* clang format
2025-05-03 18:54:15 +02:00
cdf5736f1a
layerrules: fix abovelock interactivity for touch input ( #10253 )
2025-05-03 16:07:02 +02:00
2d6ca96e07
plugins: refactor class member vars ( #10257 )
2025-05-03 16:06:24 +02:00
d9cad5e1b6
protocols: refactor class member vars (core) ( #10259 )
2025-05-03 16:02:49 +02:00
0c736217a7
configmgr: fix CConfigValue<> from plugins
2025-05-02 17:53:55 +01:00
77ecf09506
internal: fix name confusion in SAlphaValue
...
fixes #10251
2025-05-02 16:29:15 +01:00
ce821294e2
managers: refactor class member vars ( #10242 )
2025-05-02 17:07:20 +02:00
6f174a9e08
renderer: render fading out floating windows over fs
2025-05-02 00:16:17 +01:00
5b3e489108
inputs: refactor class member vars ( #10230 )
2025-05-01 23:57:11 +02:00
b5ef049ea1
master: Change center_master_slaves_on_right to center_master_fallback ( #10201 )
...
* Change center_master_slaves_on_right to center_master_fallback
2025-05-01 13:29:06 +02:00
615e0dae46
layouts: refactor class member vars ( #10228 )
2025-05-01 13:27:07 +02:00
ce4766772d
hyprerror: refactor class member vars ( #10227 )
2025-05-01 13:26:43 +02:00
50e1bec85f
helpers: refactor class member vars ( #10218 )
2025-04-30 23:45:20 +02:00
2ee5118d7a
render: properly release rendered buffers ( #9807 )
...
* cleanup eglSync
* properly release buffers in renderer
* add renderingDoneCallback and use it in screencopy
* use static constructor for CEGLSync
2025-04-30 18:35:25 +02:00
5d005f11fa
xdg-bell: fix wrong resource cast
2025-04-30 14:07:23 +01:00
54c89104de
DonationNag: ask after each major update ( #10213 )
...
This changes how the donation nag timing works.
The donation nag will now appear:
- after a major update (e.g. 48 -> 49)*
- once in late july
- once in december
however, a donation nag will never pop up more than once a month. So, if there is an update on the 26th of November, and you get a popup on the 28th, you will not get one in december.
This is of course still disableable in your config.
2025-04-30 14:47:35 +02:00
72cb5d24b6
permissions: disable automatic reloading of permissions from cfg
...
security reasons, avoid reading them live. Ideally we'd lock them behind sudo, but we can't do that.
2025-04-30 00:35:32 +01:00
9868b18378
input: don't use pointer hold logic for unmapped surfs
...
fixes #10215
2025-04-30 00:31:21 +01:00
208f4c48db
config: use natural increase and decrease of brightness for default cfg ( #10210 )
...
* feat(config): hyprland natural brightness
* feat(config): natural increase and decrease of brightness
2025-04-30 01:10:47 +02:00
4506871310
xdg-bell: avoid crashes on null toplevel
2025-04-30 00:10:07 +01:00
6483f4ec22
screencopy: don't render cursor when frame doesn't want it
2025-04-29 22:02:55 +01:00
ae1fe860ff
renderer: add render:send_content_type setting ( #9851 )
2025-04-29 22:09:14 +02:00
49974d5e34
cm: Use precomputed primaries conversion ( #9814 )
2025-04-29 21:29:40 +02:00
94bc132084
xdg-bell/xdg-tag: fix moved resource usage
2025-04-29 19:49:13 +01:00
e9c3fcbb64
devices: refactor class member vars ( #10206 )
2025-04-29 19:51:07 +02:00
40147d3a3f
asyncdialogbox: fix missing header
2025-04-29 18:37:21 +01:00
23ecce0e7a
protocols: add support for xdg-system-bell-v1
2025-04-29 18:32:21 +01:00
465e3d979d
window: make AsyncDialogBoxes not closeable
...
we don't want the user to accidentally close a popup for permissions or ANR. They can dismiss them by clicking an appropriate option.
2025-04-29 18:20:06 +01:00
b10a43dabc
windowrules: add noclosefor
...
fixes #10027
2025-04-29 18:14:02 +01:00