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
Lee Bousfield
6384f4acf4
core/compositor: Correctly track SHM buffer damage ( #9678 )
2025-03-22 17:13:44 +01: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
littleblack111
01f4074421
hyprctl/layers: print pid for layershell clients ( #9468 )
...
Adds a `getPID()` fn to layershell to print it in `hyprctl layers`
2025-02-26 16:03:06 +01: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
nyx
d01f9943e1
subsurfaces: dont try to access popup surfaces when handling subsurface updates ( #9421 )
2025-02-17 19:02:32 +01: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
Roberto Previdi
410da2e46f
workspaces: update persistence on workspace rename ( #9368 )
2025-02-15 15:01:52 +01:00
nyx
feb8ad48f0
groups: deactivate unfocused windows in groups ( #9354 )
2025-02-08 15:05:44 +01:00
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