Paul Cross
a724332eb8
desktop: add ability to target pinned windows in workspace rules ( #9344 )
...
* desktop: add ability to target pinned windows in workspace rules
* desktop: add ability to target pinned windows in workspace rules
* fix formating
2025-02-08 01:45:13 +01:00
vaxerski
30b49c75bf
popup: improve ::at() behavior
2025-02-06 12:15:41 +00:00
Maximilian Seidler
ff9e059de6
window: move size reporting to animation begin callback ( #9298 )
...
* window: fix resizes with an update callback
* window: fixup sendWindowSize
Remove the size argument from sendWindowSize, since it is now a member of the Window class
and we don't want any mismatches between m_vRealSize and what we report.
Remove sendWindowSize from mapWindow, since we shouldn't need it.
* window: sendWindowSize on animation begin
* window: move most calls to sendWindowSize to the animation begin
callback
* window: remove sendWindowSize in unmanaged if not fullscreen
2025-02-06 11:21:04 +00:00
Tom Englund
f1e32cd122
core: avoid .at() and use [] operator ( #9347 )
...
avoid .at() where it makes sense and use [] operator in loops.
2025-02-06 11:18:04 +00:00
nyx
868b2b544a
window: fix missing surface null checks to prevent crashes ( #9350 )
2025-02-06 11:17:12 +00:00
Tom Benham
84c9baecc6
keybinds: Added toggleswallow dispatcher ( #5548 )
...
* Added `toggleswallow` dispatcher
* clang-format
* Removed brackets for 1-line if
2025-02-05 09:56:41 +00:00
Vaxry
44004abc01
config: fix includes
2025-02-02 22:20:28 +00:00
UjinT34
31431a9271
protocols: Support content-type-v1 proto ( #9226 )
2025-02-02 20:25:29 +01:00
Vaxry
64fefa3749
desktop: move popups to UPs and fix missing subsurface resource
...
fixes #9283
2025-02-01 19:10:19 +00:00
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