summaryrefslogtreecommitdiff
path: root/src/desktop
Commit message (Collapse)AuthorAgeFilesLines
* core: cleanup some smart pointer usageVaxry2025-03-021-12/+11
|
* core: cleanup window propertiesVaxry2025-03-023-12/+48
| | | | they don't need to be in CConfigManager, and belong to window instead
* hyprctl/layers: print pid for layershell clients (#9468)littleblack1112025-02-262-0/+14
| | | Adds a `getPID()` fn to layershell to print it in `hyprctl layers`
* anr: add xwayland support (#9456)Vaxry2025-02-211-4/+1
| | | Adds XWayland support to ANR dialogs
* core: add an ANR dialogVaxry2025-02-182-0/+14
| | | | | | 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.
* subsurfaces: dont try to access popup surfaces when handling subsurface ↵nyx2025-02-173-2/+10
| | | | updates (#9421)
* xwayland: configure on a configure request and cleanup geometry conversion ↵Maximilian Seidler2025-02-162-46/+83
| | | | | | | | | (#9375) * xwayland: configure the window on a configure request * xwayland: move coordinate conversion handling to their own functions * xwayland: rename configure to configureRequest
* workspaces: update persistence on workspace rename (#9368)Roberto Previdi2025-02-151-0/+6
|
* groups: deactivate unfocused windows in groups (#9354)nyx2025-02-082-0/+17
|
* desktop: add ability to target pinned windows in workspace rules (#9344)Paul Cross2025-02-082-6/+19
| | | | | | | * desktop: add ability to target pinned windows in workspace rules * desktop: add ability to target pinned windows in workspace rules * fix formating
* popup: improve ::at() behaviorvaxerski2025-02-061-8/+9
|
* window: move size reporting to animation begin callback (#9298)Maximilian Seidler2025-02-063-13/+17
| | | | | | | | | | | | | | | | | * 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
* core: avoid .at() and use [] operator (#9347)Tom Englund2025-02-061-4/+4
| | | avoid .at() where it makes sense and use [] operator in loops.
* window: fix missing surface null checks to prevent crashes (#9350)nyx2025-02-061-1/+4
|
* keybinds: Added `toggleswallow` dispatcher (#5548)Tom Benham2025-02-052-3/+6
| | | | | | | * Added `toggleswallow` dispatcher * clang-format * Removed brackets for 1-line if
* config: fix includesVaxry2025-02-021-1/+1
|
* protocols: Support content-type-v1 proto (#9226)UjinT342025-02-024-81/+104
|
* desktop: move popups to UPs and fix missing subsurface resourceVaxry2025-02-015-13/+16
| | | | fixes #9283
* popup: take xdg geometry into account in input calcsVaxry2025-02-011-5/+7
| | | | fixes #9023
* desktop: move popup and subsurface ctors to factoriesVaxry2025-02-018-57/+88
| | | | | | | | makes sure m_pSelf is set before we do anything like possibly adding children fixes #9275 supersedes #9276
* xwayland: correct pointer coordinate mismatch in X11 windows (#9259)nyx2025-01-311-9/+3
| | | refactor(xwayland): add back comments
* desktop: fix segfault when destroying a partially create layer surface (#9247)Brayden Zee2025-01-311-1/+2
|
* xwayland: prevent invalid window configurations for X11 apps (#9253)nyx2025-01-311-1/+1
| | | | | * fix(xwayland): prevent invalid window configurations for X11 apps * refact(xwayland): remove unneeded line
* xwayland: handle window coords correctly (#9238)nyx2025-01-301-8/+11
|
* core,hyprctl: clang, clang-tidy, typo fixes and dtors changes (#9233)Honkazel2025-01-302-6/+2
| | | | | | | * declare dtor once + DMABBUF typo fix * dup include + clang moment * linux-dmabuf: last minute nit change
* subsurface: fix invalid parent typoVaxry2025-01-291-1/+1
| | | | fixes #9224
* popup: stop refocusing at unmapVaxry2025-01-291-3/+4
| | | | fixes #9018
* renderer/internal: stop using box pointersVaxry2025-01-263-15/+15
| | | | in favor of const refs
* window: only set m_iMonitorMovedFrom when the workspace is visible (#9178)Maximilian Seidler2025-01-261-4/+6
|
* desktop: move desktop types to memory-safe pointersVaxry2025-01-266-51/+62
|
* xwayland: fix pointer mismatches with multiple monitors (#9179)Maximilian Seidler2025-01-261-5/+3
|
* subsurface: damage the entire parent on size changeVaxry2025-01-251-4/+13
| | | | | | the previous method doesn't exactly work, idk todo fix fixes #8784
* core: move sendWindowSize off of xwaylandmgrVaxry2025-01-253-5/+44
| | | | additionally fixes that one weird x11 issue with floating windows being mis-sized on open
* window: revert only set m_iMonitorMovedFrom, when moving to a different monitorVaxry2025-01-251-3/+2
| | | | | | This reverts commit 089fdd1ea0d991da5b068db51531f54c90a2df25. Great commit.
* config: disable borderangle by default (#9165)Maximilian Seidler2025-01-251-3/+5
|
* xwayland: various window handling fixesVaxry2025-01-251-4/+4
| | | | I hate this fucking garbage
* window: only set m_iMonitorMovedFrom, when moving to a different monitor (#9160)Maximilian Seidler2025-01-251-2/+3
|
* animations: fix borderangle once (#9149)Maximilian Seidler2025-01-242-0/+9
|
* protocols: add hyprland_surface_v1.set_visible_region implementation (#9120)outfoxxed2025-01-231-1/+2
|
* core: move all shared_ptrs from the STL to hyprutils (#9143)Vaxry2025-01-2311-37/+38
|
* core: reserve vector sizes as much as we can (#9118)Tom Englund2025-01-191-0/+2
| | | | | 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.
* desktop/DesktopTypes.hpp: fix include (#9104)Beau2025-01-171-1/+1
|
* regex: log an error if regex parsing failsvaxerski2025-01-171-0/+5
|
* core: cleanup header includes (#9088)user1111111111111111111111111111111112025-01-179-4/+26
| | | Cleanup some unneeded includes to speed up compilation
* keybinds: fix previous_per_monitor logic (#9010)Alexander2025-01-112-19/+13
| | | Co-authored-by: Крылов Александр <aleksandr.krylov@hyperus.team>
* core: always use goal size to send to clientsvaxerski2025-01-101-1/+1
|
* windows: honor xdg_toplevel_set_fullscreen output hint (#8965)Dardo D Kleiner2025-01-092-5/+18
| | | Co-authored-by: Dardo D Kleiner <dardo.kleiner@nrl.navy.mil>
* window: fixup fade out animation on silent movesvaxerski2025-01-071-3/+3
|
* core: minor fixes for animation rewritevaxerski2025-01-071-1/+1
|
* core: Add support for HDR and color management protocols (#8715)UjinT342025-01-071-0/+1
|