summaryrefslogtreecommitdiff
path: root/src/desktop/Window.cpp
Commit message (Collapse)AuthorAgeFilesLines
...
* time: move to stl's clocks and move timerVaxry2025-04-161-3/+3
|
* windowrules: allow incrementing window props (#9566)MightyPlaza2025-04-161-1/+2
|
* xdg-shell: fix some null refs (#9992)nyx2025-04-081-2/+2
|
* window: send fractional scale on updateScaleTransformVaxry2025-04-061-0/+2
| | | | fixes #9889
* window: don't deactivate unfocused xwayland windows in groups (#9781)nyx2025-04-021-3/+5
| | | | | | * 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
* solitary: Fix the non-working tearing #9429 (#9772)Shockingly Good2025-03-301-3/+0
| | | | | | Fixes the non-working tearing by removing the incorrect opaqueness check for the windows. Fixes #9429
* renderer: fix window offset for dragged windows (#9629)Blackilykat2025-03-151-1/+1
|
* windowrules: store floating size on close instead of resize (#9569)nyx2025-03-081-5/+0
|
* windowrules: add option to allow size persistence between app launches (#9422)nyx2025-03-081-0/+9
|
* core: cleanup some smart pointer usageVaxry2025-03-021-12/+11
|
* core: cleanup window propertiesVaxry2025-03-021-6/+6
| | | | they don't need to be in CConfigManager, and belong to window instead
* anr: add xwayland support (#9456)Vaxry2025-02-211-4/+1
| | | Adds XWayland support to ANR dialogs
* core: add an ANR dialogVaxry2025-02-181-0/+10
| | | | | | 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.
* xwayland: configure on a configure request and cleanup geometry conversion ↵Maximilian Seidler2025-02-161-44/+76
| | | | | | | | | (#9375) * xwayland: configure the window on a configure request * xwayland: move coordinate conversion handling to their own functions * xwayland: rename configure to configureRequest
* groups: deactivate unfocused windows in groups (#9354)nyx2025-02-081-0/+16
|
* window: move size reporting to animation begin callback (#9298)Maximilian Seidler2025-02-061-11/+15
| | | | | | | | | | | | | | | | | * 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-051-2/+4
| | | | | | | * Added `toggleswallow` dispatcher * clang-format * Removed brackets for 1-line if
* protocols: Support content-type-v1 proto (#9226)UjinT342025-02-021-0/+15
|
* desktop: move popup and subsurface ctors to factoriesVaxry2025-02-011-4/+2
| | | | | | | | 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
* 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
|
* 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-261-5/+7
|
* xwayland: fix pointer mismatches with multiple monitors (#9179)Maximilian Seidler2025-01-261-5/+3
|
* core: move sendWindowSize off of xwaylandmgrVaxry2025-01-251-4/+41
| | | | 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-241-0/+8
|
* core: move all shared_ptrs from the STL to hyprutils (#9143)Vaxry2025-01-231-9/+9
|
* 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.
* core: cleanup header includes (#9088)user1111111111111111111111111111111112025-01-171-0/+7
| | | Cleanup some unneeded includes to speed up compilation
* 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-091-4/+15
| | | Co-authored-by: Dardo D Kleiner <dardo.kleiner@nrl.navy.mil>
* window: fixup fade out animation on silent movesvaxerski2025-01-071-3/+3
|
* core: move parts of the animation system to hyprutils (#8868)Maximilian Seidler2025-01-071-112/+90
| | | | | | | | | | | | | * 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
* renderer: Add supercircular window corners (#8943)Pollux2025-01-051-7/+16
| | | | | | | renderer: Add supercircular shadows and borders config: Add rounding_power to default and example configs rule: add `roundingpower` window rule
* internal: update window position/size after changing fullscreenstate (#8865)khushal-solves2024-12-271-3/+3
| | | This effects fullscreen group of floating windows.
* core: fade in windows when they are brought from invisible workspacesVaxry2024-12-221-0/+7
|
* internal: Make static analysis more happy (#8767)Ikalco2024-12-191-1/+1
| | | | | | | | | * make functions used in 1 file static * fix invalid substr param -1 * give default initializer to borderGradier * move RASSERT from printf to std::print
* internal: remove dead code (#8748)Ikalco2024-12-171-9/+0
|
* windowrules: fix prop rules with boolean valuesVaxry2024-12-161-1/+1
|
* core: Move regex from stdlib to re2 (#8736)Vaxry2024-12-161-2/+4
| | | Moves the regex handling from stdlib to re2
* core: Optimize window/layer rule application and scanning (#8735)Vaxry2024-12-161-144/+163
| | | Optimizes window and layer rule parsing and later usage.
* windowrules: add rules for mouse and touchpad scroll factors (#8655)Mike Will2024-12-111-0/+17
|
* config: add 'force' option for 'cursor:warp_on_change_workspace' (#8681)Pavel Belyavsky2024-12-101-3/+3
| | | | | | | * config: add 'force' option for 'cursor:warp_on_change_workspace' * manager: throw the expression into the function arguments * config: fix description of `cursor:warp_on_change_workspace`