summaryrefslogtreecommitdiff
path: root/src/Compositor.cpp
Commit message (Collapse)AuthorAgeFilesLines
* core: prevent crash when monitor list is empty (#9572)nyx2025-03-081-0/+5
|
* core: ignore internal move workspace calls if the workspace doesn't change ↵phonetic1122025-03-011-0/+3
| | | | (#9516)
* core: Add null activeWorkspace check in moveWorkspaceToMonitor (#9503)Lee Bousfield2025-02-281-1/+2
|
* protocols: Support wp color management proto (#9444)UjinT342025-02-261-2/+5
| | | Adds support for the recently merged w-p CM protocol alongside the (now deprecated) old CM WIP protocols
* core: add an ANR dialogVaxry2025-02-181-0/+5
| | | | | | 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.
* workspaces: update persistence on workspace rename (#9368)Roberto Previdi2025-02-151-16/+33
|
* env: move XDG_SESSION_TYPE to before backend init (#9390)nyx2025-02-121-1/+0
|
* core: add mallopt to modify trim thresholdVaxry2025-02-091-0/+14
|
* groups: deactivate unfocused windows in groups (#9354)nyx2025-02-081-0/+3
|
* window: move size reporting to animation begin callback (#9298)Maximilian Seidler2025-02-061-1/+1
| | | | | | | | | | | | | | | | | * 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
* compositor: don't iterate over unmapped ls-es in vectorToLSvaxerski2025-02-041-2/+2
| | | | fixes #9312
* compositor: guard null ws in updating fadeVaxry2025-02-031-0/+3
|
* dispatchers: add cyclenext hist option (#9055)Alexander2025-02-031-32/+47
|
* protocols: Support content-type-v1 proto (#9226)UjinT342025-02-021-1/+2
|
* refactor: clang-tidy in compositor (#9241)Alexander2025-02-021-53/+37
| | | Co-authored-by: Alexandr Krylov <t@ruenya.nix>
* core,hyprctl: clang, clang-tidy, typo fixes and dtors changes (#9233)Honkazel2025-01-301-1/+0
| | | | | | | * declare dtor once + DMABBUF typo fix * dup include + clang moment * linux-dmabuf: last minute nit change
* core: make persistent workspaces always follow the configVaxry2025-01-261-0/+43
| | | | | | instead of just staying after open, they will now be enforced on their respective monitors fixes #8769
* desktop: move desktop types to memory-safe pointersVaxry2025-01-261-1/+0
|
* core: move sendWindowSize off of xwaylandmgrVaxry2025-01-251-1/+1
| | | | 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-0/+1
| | | | | | This reverts commit 089fdd1ea0d991da5b068db51531f54c90a2df25. Great commit.
* window: only set m_iMonitorMovedFrom, when moving to a different monitor (#9160)Maximilian Seidler2025-01-251-1/+0
|
* compositor: fix incorrect cast, use lambda capture instead (#9161)heather72832025-01-251-4/+4
|
* core: add --verify-config to verify the config with HyprlandVaxry2025-01-241-2/+16
| | | | fixes #9135
* animations: fix borderangle once (#9149)Maximilian Seidler2025-01-241-4/+1
|
* core: move all shared_ptrs from the STL to hyprutils (#9143)Vaxry2025-01-231-28/+28
|
* keybinds: add visible arg for cyclenext (#9045)Alexander2025-01-211-58/+31
| | | Co-authored-by: Крылов Александр <aleksandr.krylov@hyperus.team>
* xwayland: fix crash when trying to initialize without Xwayland installed (#9077)Zach DeCook2025-01-201-1/+1
|
* core: move to inotify for monitoring the config filesvaxerski2025-01-191-5/+2
| | | | | | instead of manually polling every second which is not efficient, use inotify. an added bonus is that inotify is much much faster
* core: reserve vector sizes as much as we can (#9118)Tom Englund2025-01-191-4/+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/+19
| | | Cleanup some unneeded includes to speed up compilation
* core: Add a periodic donation request (#8981)Vaxry2025-01-101-1/+8
| | | Will fire once in december and july. Disableable with `ecosystem:no_donation:nag`
* selectors: add a tag: to for matching window tag(s) by regex (#8985)zakk42232025-01-091-0/+15
|
* core: Add support for HDR and color management protocols (#8715)UjinT342025-01-071-0/+19
|
* core: move parts of the animation system to hyprutils (#8868)Maximilian Seidler2025-01-071-39/+39
| | | | | | | | | | | | | * 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
* core: guard workspace and monitor in moveWorkspaceToMonitorvaxerski2025-01-041-1/+2
| | | | ref #7822
* socket2: add focusedmonv2 event (#8921)davc0n2025-01-031-1/+6
| | | | | * socket2: add focusedmonv2 event * socket2: remove workspace name from focusedmonv2
* keybinds: attempt to wrap around if fallback is allowed in movefocusvaxerski2025-01-021-28/+29
| | | | fixes #8909
* internal: few small monitor improvements (#8890)Ikalco2024-12-291-5/+0
| | | | | | | * remove framesToSkip, its not used anymore * only set drm format when needed after leaving direct scanout * always set drm damage
* core: refactor/improve monitor mode selection (#8804)Ikalco2024-12-281-1/+1
|
* core: fade in windows when they are brought from invisible workspacesVaxry2024-12-221-0/+6
|
* core: fix possible crash on null active workspaceVaxry2024-12-191-1/+2
| | | | fixes #7822
* internal: Make static analysis more happy (#8767)Ikalco2024-12-191-4/+4
| | | | | | | | | * 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-16/+0
|
* core: Move regex from stdlib to re2 (#8736)Vaxry2024-12-161-9/+11
| | | Moves the regex handling from stdlib to re2
* core: drop using deques in favor of vectorsVaxry2024-12-161-3/+3
| | | | No point in most of these.
* compositor: fix monitor arrangement with mixed auto directionsVaxry2024-12-131-32/+30
| | | | fixes #8518
* windows: allow replacing existing fullscreen (#8566)littleblack1112024-12-101-1/+4
| | | | | | | | | | | | | * feat: `binds:allow_replace_fullscreen` this allows replacement of fullscreen window(i.e. fullscreening another window when one is already fullscreened on the workspace) this is used when a floating window that is spawned on top of a fullscreen wanted to be fullscreened * clang-format * remove: config for `allow_replace_fullscreen`
* core: Add clang-tidy (#8664)Vaxry2024-12-071-20/+18
| | | | | This adds a .clang-tidy file for us. It's not a strict requirement to be compliant, but I tuned it to be alright.
* core: Add support for hyprqtutils' update screen (#8651)Vaxry2024-12-061-1/+13
| | | | | | | | | * Nix: add hyprland-qtutils to PATH * flake.lock: update --------- Co-authored-by: Mihai Fufezan <mihai@fufexan.net>
* core: add a few festive splashesVaxry2024-12-051-2/+12
| | | | adds two new 'special' splash types for xmas and new years. Activated based on local time.