davc0n
4d14bcb02f
config: Refactor class member vars ( #10124 )
...
* Refactor config classes vars
* Fix clang format errors
2025-04-20 20:39:33 +02:00
Vaxry
877fb5b93a
time: move to stl's clocks and move timer
2025-04-16 01:37:48 +01:00
MightyPlaza
ffd6cf65e4
windowrules: allow incrementing window props ( #9566 )
2025-04-16 01:00:40 +02:00
nyx
ea852965ff
xdg-shell: fix some null refs ( #9992 )
2025-04-08 19:43:15 +02:00
Vaxry
e96b8ce4cc
window: send fractional scale on updateScaleTransform
...
fixes #9889
2025-04-06 00:30:13 +01:00
nyx
a4e6c5d678
window: don't deactivate unfocused xwayland windows in groups ( #9781 )
...
* window: don't deactivate unfocused xwayland windows in groups
we dont want to deactivate unfocused xwayland windows because X is weird, keep the behavior for wayland windows
2025-04-02 00:51:37 +02:00
Shockingly Good
10a335631e
solitary: Fix the non-working tearing #9429 ( #9772 )
...
Fixes the non-working tearing by removing the incorrect
opaqueness check for the windows.
Fixes #9429
2025-03-30 20:29:39 +02:00
Blackilykat
4c471218c9
renderer: fix window offset for dragged windows ( #9629 )
2025-03-15 19:15:09 +01:00
nyx
c544c5115c
windowrules: store floating size on close instead of resize ( #9569 )
2025-03-08 14:20:27 +01:00
nyx
b80b64cd6c
windowrules: add option to allow size persistence between app launches ( #9422 )
2025-03-08 02:12:02 +01:00
Vaxry
3a21dd84b3
core: cleanup some smart pointer usage
2025-03-02 02:19:35 +00:00
Vaxry
2c78867a98
core: cleanup window properties
...
they don't need to be in CConfigManager, and belong to window instead
2025-03-02 02:13:37 +00:00
Vaxry
f4b148df1e
anr: add xwayland support ( #9456 )
...
Adds XWayland support to ANR dialogs
2025-02-21 21:26:53 +01:00
Vaxry
fb8eaba83f
core: add an ANR dialog
...
for xdg-shell, we can ping the wm_base, and thus render an ANR dialog if an app dies
for XWayland, there probably is a similar method, but I don't know about it and don't care.
2025-02-18 15:13:56 +00:00
Maximilian Seidler
897ee276dc
xwayland: configure on a configure request and cleanup geometry conversion ( #9375 )
...
* xwayland: configure the window on a configure request
* xwayland: move coordinate conversion handling to their own functions
* xwayland: rename configure to configureRequest
2025-02-16 01:20:42 +01:00
nyx
feb8ad48f0
groups: deactivate unfocused windows in groups ( #9354 )
2025-02-08 15:05:44 +01: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
UjinT34
31431a9271
protocols: Support content-type-v1 proto ( #9226 )
2025-02-02 20:25:29 +01: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
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
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
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
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
user111111111111111111111111111111111
2bad73354a
core: cleanup header includes ( #9088 )
...
Cleanup some unneeded includes to speed up compilation
2025-01-17 15:21:35 +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
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
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
1cc1a46c2e
core: fade in windows when they are brought from invisible workspaces
2024-12-22 16:04:10 +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
95cdedee04
windowrules: fix prop rules with boolean values
2024-12-16 18:44:19 +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
Mike Will
df956a0f6f
windowrules: add rules for mouse and touchpad scroll factors ( #8655 )
2024-12-11 17:27:49 +00:00