Vaxry
e380b6ed66
popup: take xdg geometry into account in input calcs
...
fixes #9023
2025-02-01 15:49:10 +00:00
Vaxry
c6f672257b
desktop: move popup and subsurface ctors to factories
...
makes sure m_pSelf is set before we do anything like possibly adding children
fixes #9275
supersedes #9276
2025-02-01 15:08:30 +00:00
nyx
a4b7d1c2d7
xwayland: correct pointer coordinate mismatch in X11 windows ( #9259 )
...
refactor(xwayland): add back comments
2025-01-31 14:36:56 +01:00
Brayden Zee
ac5668192e
desktop: fix segfault when destroying a partially create layer surface ( #9247 )
2025-01-31 13:33:51 +01:00
nyx
ea16b64ec1
xwayland: prevent invalid window configurations for X11 apps ( #9253 )
...
* fix(xwayland): prevent invalid window configurations for X11 apps
* refact(xwayland): remove unneeded line
2025-01-31 13:26:08 +01:00
nyx
ef03f69116
xwayland: handle window coords correctly ( #9238 )
2025-01-30 22:36:42 +01:00
Honkazel
7d1c78f4a3
core,hyprctl: clang, clang-tidy, typo fixes and dtors changes ( #9233 )
...
* declare dtor once + DMABBUF typo fix
* dup include + clang moment
* linux-dmabuf: last minute nit change
2025-01-30 11:07:06 +00:00
Vaxry
d462cc7fa1
subsurface: fix invalid parent typo
...
fixes #9224
2025-01-29 23:16:25 +00:00
Vaxry
09ec1cca51
popup: stop refocusing at unmap
...
fixes #9018
2025-01-29 23:05:59 +00:00
Vaxry
e951011503
renderer/internal: stop using box pointers
...
in favor of const refs
2025-01-26 15:05:34 +00:00
Maximilian Seidler
4abf9155ee
window: only set m_iMonitorMovedFrom when the workspace is visible ( #9178 )
2025-01-26 14:00:52 +01:00
Vaxry
0a28e13787
desktop: move desktop types to memory-safe pointers
2025-01-26 12:54:38 +00:00
Maximilian Seidler
3cd6e3960f
xwayland: fix pointer mismatches with multiple monitors ( #9179 )
2025-01-26 13:23:39 +01:00
Vaxry
8b1d6e3009
subsurface: damage the entire parent on size change
...
the previous method doesn't exactly work, idk todo fix
fixes #8784
2025-01-25 21:57:58 +00:00
Vaxry
445acec2a2
core: move sendWindowSize off of xwaylandmgr
...
additionally fixes that one weird x11 issue with floating windows being mis-sized on open
2025-01-25 20:36:44 +00:00
Vaxry
45c3787e75
window: revert only set m_iMonitorMovedFrom, when moving to a different monitor
...
This reverts commit 089fdd1ea0 .
Great commit.
2025-01-25 19:37:52 +00:00
Maximilian Seidler
107723bdf4
config: disable borderangle by default ( #9165 )
2025-01-25 19:23:36 +01:00
Vaxry
354d4594de
xwayland: various window handling fixes
...
I hate this fucking garbage
2025-01-25 02:35:41 +00:00
Maximilian Seidler
089fdd1ea0
window: only set m_iMonitorMovedFrom, when moving to a different monitor ( #9160 )
2025-01-25 00:27:24 +01:00
Maximilian Seidler
80b2fd135b
animations: fix borderangle once ( #9149 )
2025-01-24 19:22:05 +01:00
outfoxxed
465cf66df1
protocols: add hyprland_surface_v1.set_visible_region implementation ( #9120 )
2025-01-23 22:57:33 +01:00
Vaxry
0a1ae48a9f
core: move all shared_ptrs from the STL to hyprutils ( #9143 )
2025-01-23 21:55:41 +01:00
Tom Englund
4da9b7cc5b
core: reserve vector sizes as much as we can ( #9118 )
...
avoid reallocations as much as possible with a few edge cases where the
reservation overshoots a tiny bit. but a few bytes of memory short term
is better used then the overhead of potential reallocation.
2025-01-19 10:38:42 +00:00
Beau
b65f8a8723
desktop/DesktopTypes.hpp: fix include ( #9104 )
2025-01-17 18:56:43 +01:00
vaxerski
76a899627e
regex: log an error if regex parsing fails
2025-01-17 18:56:43 +01:00
user111111111111111111111111111111111
2bad73354a
core: cleanup header includes ( #9088 )
...
Cleanup some unneeded includes to speed up compilation
2025-01-17 15:21:35 +00:00
Alexander
15dc024a39
keybinds: fix previous_per_monitor logic ( #9010 )
...
Co-authored-by: Крылов Александр <aleksandr.krylov@hyperus.team>
2025-01-11 16:05:53 +00:00
vaxerski
8475a8ef99
core: always use goal size to send to clients
2025-01-10 14:09:16 +01:00
Dardo D Kleiner
f9c37ca43b
windows: honor xdg_toplevel_set_fullscreen output hint ( #8965 )
...
Co-authored-by: Dardo D Kleiner <dardo.kleiner@nrl.navy.mil>
2025-01-09 22:38:38 +00:00
vaxerski
67e1e46f9b
window: fixup fade out animation on silent moves
2025-01-07 20:58:49 +01:00
vaxerski
308b1f3afb
core: minor fixes for animation rewrite
2025-01-07 20:30:44 +01:00
UjinT34
830350a1f7
core: Add support for HDR and color management protocols ( #8715 )
2025-01-07 18:32:50 +00:00
Maximilian Seidler
5642ed331d
core: move parts of the animation system to hyprutils ( #8868 )
...
* core: change animation manager to use Hyprutils::Animation
* config: move animation config to hyprutils animation tree
* use g_pAnimationManager->createAnimation and the new PHLANIMVAR template
* core: use CGenericAnimatedVariabled::{enabled,setConfig,getStyle} and adapt callbacks
* core: adapt animated variable usage (dereference the shared pointer)
* misc: bump CMakeLists to hyprutils 0.3.3
2025-01-07 17:55:14 +00:00
Pollux
a5c14370c1
renderer: Add supercircular window corners ( #8943 )
...
renderer: Add supercircular shadows and borders
config: Add rounding_power to default and example configs
rule: add `roundingpower` window rule
2025-01-05 18:38:49 +00:00
outfoxxed
42fd366046
protocols: fix alpha-modifier noncompliance ( #8929 )
...
Also fixes small issues with hyprland-surface opacity < 1.0 while
surface alpha = 1.0.
2025-01-02 11:53:57 +00:00
outfoxxed
dde3e082c9
protocols: add hyprland_surface_v1 implementation ( #8877 )
2025-01-01 23:34:02 +00:00
vaxerski
7f177fa1cf
layershell: return focus to a valid ls on close if possible
2025-01-01 17:28:04 +01:00
khushal-solves
85632e7c33
internal: update window position/size after changing fullscreenstate ( #8865 )
...
This effects fullscreen group of floating windows.
2024-12-27 15:20:38 +00:00
Vaxry
e536b02248
Renderer: rewrite render scheduling ( #8683 )
...
This rewrites renderer scheduling. Occlusion is now unified in a new Pass type.
2024-12-22 17:12:09 +01:00
Vaxry
1cc1a46c2e
core: fade in windows when they are brought from invisible workspaces
2024-12-22 16:04:10 +00:00
Vaxry
31422ae25d
windowrules: add negative: prefix for negating a regex
...
fixes #8799
2024-12-21 23:07:34 +00:00
Vaxry
57921d7dbd
windowrules: precompute regexes for window/layer rules
2024-12-21 19:21:50 +00:00
Ikalco
5b714f05f8
internal: Make static analysis more happy ( #8767 )
...
* make functions used in 1 file static
* fix invalid substr param -1
* give default initializer to borderGradier
* move RASSERT from printf to std::print
2024-12-19 02:56:01 +01:00
Ikalco
e2c78c00e5
internal: remove dead code ( #8748 )
2024-12-17 17:31:27 +01:00
Vaxry
4b6163aef3
windowrules: fixup duplicate rule enum tags
...
fixes #8746
2024-12-17 01:57:35 +00:00
Vaxry
95cdedee04
windowrules: fix prop rules with boolean values
2024-12-16 18:44:19 +00:00
Vaxry
0706c1a1f7
layerrules: fix ignorezero not working
...
fixes #8737
2024-12-16 18:37:34 +00:00
Vaxry
e06b520427
core: Move regex from stdlib to re2 ( #8736 )
...
Moves the regex handling from stdlib to re2
2024-12-16 19:21:44 +01:00
Vaxry
dab50b3ef3
core: Optimize window/layer rule application and scanning ( #8735 )
...
Optimizes window and layer rule parsing and later usage.
2024-12-16 19:05:24 +01:00
Vaxry
a5234f26e4
core: drop using deques in favor of vectors
...
No point in most of these.
2024-12-16 15:58:19 +00:00