Vaxry
eb3b38d40b
eventLoop: fixup event source callbacks
2025-05-19 01:27:30 +02:00
Vaxry
d9c8a37811
input: always allow focus to permission popups
2025-05-18 19:34:20 +02:00
Vaxry
158c0f2911
permissions: add permission management for keyboards ( #10367 )
2025-05-18 19:13:20 +02:00
zacoons
44cb8f769e
internal: added error log when getEdgeDefinedPoint is impossible ( #10462 )
2025-05-18 19:10:06 +02:00
Vaxry
705b97c4ac
input: revert #10416 and #10418
...
fixes #10451
2025-05-17 19:43:12 +02:00
Vaxry
bb5cd5b2dd
screencopy: store a fb before permission popup if the permission is pending ( #10455 )
...
stops rendering the permission popup on stuff like grim when it asks
2025-05-17 19:03:35 +02:00
outfoxxed
2aa21625bd
input: ensure seat grabs from exclusive layers can be dismissed ( #10418 )
2025-05-17 13:06:48 +02:00
outfoxxed
2946009006
input: do not send mouse events when outside of a surface ( #10416 )
2025-05-16 23:39:28 +02:00
outfoxxed
b0cc49218d
protocols: simulate mouse movement after activating a toplevel ( #10429 )
2025-05-16 23:38:45 +02:00
outfoxxed
dfb841c303
desktop: prevent layers from dismissing their own seat grabs on map ( #10417 )
2025-05-15 10:16:03 +01:00
Tom Englund
5ceb0ec15d
core: drop the legacy renderer ( #10408 )
...
* core: drop the legacy renderer
the legacy renderer is broken and barely used, drop it.
* Nix: drop support for legacyRenderer
---------
Co-authored-by: Mihai Fufezan <mihai@fufexan.net>
2025-05-15 10:13:24 +01:00
outfoxxed
f707d86912
protocols/hyprland-surface: account for scaled monitor positions ( #10415 )
2025-05-15 10:12:55 +01:00
Yukari Chiba
75f2cb5f65
xwayland: do not include xcb.h when xwayland is disabled ( #10407 )
...
xcb.h should not be included when xwayland is disabled.
This allows hyprland to not use X11 libraries at all when xwayland is disabled.
2025-05-14 19:31:19 +01:00
Vaxry
a51e639d81
input: disallow virtual keyboards from changing LED state ( #10402 )
2025-05-14 17:48:17 +01:00
Tom Englund
59b2340680
opengl: add missing vao for screenshader ( #10397 )
...
missed creating vertex array objects in 04124988e8
add it.
2025-05-13 23:46:29 +01:00
outfoxxed
da3583fd5e
opengl: publicize shader creation/usage functions ( #10378 )
...
Allows plugins to create and use shaders again
2025-05-12 14:15:47 +02:00
Tom Englund
04124988e8
opengl: optimize shaders and reduce unneeded drawcalls ( #10364 )
...
* opengl: remove unnecessery glflush calls
glflushing forces the driver to break batching and issue commands
prematurely and prevents optimisations like command reordering and
merging.
many glFunctions already internally glflushes and eglsync creation still
has a glflush at end render. so lets reduce the overhead of these calls.
* opengl: reduce glUseProgram calls
apitrace shows cases where the same program gets called multiple times,
add a helper function that keeps track of current program and only call
it once on same program. reduces slight overhead.
* opengl: use more efficient vertex array object
use a more modern vertex array object approach with the shaders, makes
it a onetime setup on shader creation instead of once per drawcall, also
should make the driver not have to revalidate the vertex format on each
call.
2025-05-11 18:36:20 +02:00
Vaxry
390a357859
renderer: use alpha for the lockttytext texture
...
ref #10348
2025-05-11 13:15:03 +01:00
Vaxry
9a87498bb1
renderer: minor damage fixes
2025-05-10 23:53:05 +01:00
Vaxry
f58bb72d3a
renderer: render blur on fade out ( #10356 )
2025-05-10 19:31:26 +02:00
vaxerski
60cd5b7a48
renderer: always render snapshots as 8bit
...
fixes issues with transparent windows on 10b
2025-05-09 22:16:21 +01:00
Vaxry
239cdd67fd
socket2: fix order of window events on map ( #10341 )
2025-05-08 22:10:31 +02:00
s1dd
f01e3043b8
desktop: cleanup code and use std::ranges ( #10289 )
2025-05-08 21:01:49 +02:00
Vaxry
04c98abd1f
layout: properly assign workspace and monitor when moving a child to the parent ( #10338 )
2025-05-08 21:00:28 +02:00
nyx
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
Vaxry
f909b0f114
opengl: fix legacyrenderer
2025-05-08 18:22:44 +01:00
MightyPlaza
fa1e343b04
compositor: set fullscreenstate on movetoworkspace ( #10303 )
...
modified: src/managers/KeybindManager.cpp
2025-05-08 18:29:47 +02:00
davc0n
22b12e3013
refactor: cshader class to sshader struct ( #10324 )
2025-05-08 00:07:35 +02:00
Tom Englund
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
Tom Englund
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
davc0n
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
Vaxry
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
CyrenArkade
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
Jack Barnes
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
shane blackthorne
ec93f8a1cd
socket2: add monitorremovedv2 event ( #10229 )
2025-05-06 03:52:36 +02:00
davc0n
997fefbc11
render: refactor class member vars ( #10292 )
...
* render: refactor class member vars
* render: fix clang format
2025-05-05 23:44:49 +02:00
Vaxry
c7eb141098
renderer: always try to apply a mode if pixel size is invalid ( #10291 )
2025-05-05 23:40:37 +02:00
davc0n
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
phonetic112
78ff20ddf0
workspaces: Fix empty flag not selecting active workspace ( #10237 )
2025-05-04 19:22:41 +02:00
davc0n
2626f89ea6
protocols: refactor class member vars (n-t) ( #10273 )
2025-05-04 19:21:36 +02:00
davc0n
adbae0f74d
protocols: refactor class member vars (a-m) ( #10265 )
2025-05-04 00:13:29 +02:00
davc0n
46ac115bd1
protocols: refactor class member vars (types) ( #10261 )
2025-05-03 18:54:50 +02:00
Honkazel
3465efcdc1
internal: Use vecnotinrect instead of !vecinrect ( #10262 )
...
* monitor: use vecnotinrect
* inputmanager: vecnotinrect
* clang format
2025-05-03 18:54:15 +02:00
Virt
cdf5736f1a
layerrules: fix abovelock interactivity for touch input ( #10253 )
2025-05-03 16:07:02 +02:00
davc0n
2d6ca96e07
plugins: refactor class member vars ( #10257 )
2025-05-03 16:06:24 +02:00
davc0n
d9cad5e1b6
protocols: refactor class member vars (core) ( #10259 )
2025-05-03 16:02:49 +02:00
Vaxry
0c736217a7
configmgr: fix CConfigValue<> from plugins
2025-05-02 17:53:55 +01:00
Vaxry
77ecf09506
internal: fix name confusion in SAlphaValue
...
fixes #10251
2025-05-02 16:29:15 +01:00
davc0n
ce821294e2
managers: refactor class member vars ( #10242 )
2025-05-02 17:07:20 +02:00
Vaxry
6f174a9e08
renderer: render fading out floating windows over fs
2025-05-02 00:16:17 +01:00