summaryrefslogtreecommitdiff
path: root/src/Compositor.cpp
Commit message (Collapse)AuthorAgeFilesLines
* opengl: optimize shaders and reduce unneeded drawcalls (#10364)Tom Englund2025-05-111-1/+0
| | | | | | | | | | | | | | | | | | | | | | | * opengl: remove unnecessery glflush calls glflushing forces the driver to break batching and issue commands prematurely and prevents optimisations like command reordering and merging. many glFunctions already internally glflushes and eglsync creation still has a glflush at end render. so lets reduce the overhead of these calls. * opengl: reduce glUseProgram calls apitrace shows cases where the same program gets called multiple times, add a helper function that keeps track of current program and only call it once on same program. reduces slight overhead. * opengl: use more efficient vertex array object use a more modern vertex array object approach with the shaders, makes it a onetime setup on shader creation instead of once per drawcall, also should make the driver not have to revalidate the vertex format on each call.
* xwayland: refactor class member vars (#10312)davc0n2025-05-071-1/+1
| | | | | * xwayland: refactor class member vars * xwayland: fix pure wayland build
* render: refactor class member vars (#10292)davc0n2025-05-051-14/+14
| | | | | * render: refactor class member vars * render: fix clang format
* protocols: refactor class member vars (u-z) (#10282)davc0n2025-05-041-2/+2
| | | | | * protocols: refactor class member vars (u-z) * protocols: fix clang format
* protocols: refactor class member vars (a-m) (#10265)davc0n2025-05-041-5/+5
|
* protocols: refactor class member vars (core) (#10259)davc0n2025-05-031-4/+4
|
* managers: refactor class member vars (#10242)davc0n2025-05-021-6/+6
|
* inputs: refactor class member vars (#10230)davc0n2025-05-011-1/+1
|
* helpers: refactor class member vars (#10218)davc0n2025-04-301-119/+118
|
* windowrules: add nocloseforVaxry2025-04-291-2/+1
| | | | fixes #10027
* windows: refactor class member vars (#10168)davc0n2025-04-281-190/+189
|
* layerrules: add abovelock to render above lockscreen (#9793)Virt2025-04-251-2/+5
|
* workspaces: refactor class member vars (#10167)davc0n2025-04-251-58/+58
|
* layers: refactor class member vars (#10149)davc0n2025-04-241-14/+14
| | | | | * layers: refactor class member vars * popups: rename m_WLSurface to m_wlSurface
* compositor: refactor class member vars (#10141)davc0n2025-04-221-234/+233
|
* debug: refactor class member vars (#10130)davc0n2025-04-211-3/+3
|
* config: Refactor class member vars (#10124)davc0n2025-04-201-2/+2
| | | | | * Refactor config classes vars * Fix clang format errors
* compositor: fix getMonitorInDirection skipping active monitor (#10114)syuzuki2025-04-201-1/+1
|
* monitors: fix disconnected monitors are reconnected to an empty workspace ↵Nathan Ollerenshaw2025-04-141-1/+1
| | | | | | | (#9874) --------- Co-authored-by: nyx <nnyyxxxx@protonmail.com>
* dwindle: ignore fullscreen window for positioning when ↵rszyma2025-04-131-1/+1
| | | | | | | use_active_for_splits=false (#9838) * fix(dwindle): ignore fullscreen window for positioning when use_active_for_splits=false * rename NON_FULLSCREEN -> SKIP_FULLSCREEN_PRIORITY
* watchdog: remove watchdogVaxry2025-04-091-7/+0
| | | | it has been unused for a while now
* Permission Manager: add permission management for screencopy (#9930)Vaxry2025-04-081-0/+5
|
* compositor: fix crash when moving a workspace to a monitor with size 0x0 (#9848)Maximilian Seidler2025-04-061-3/+5
|
* compositor: avoid crash on null window monitor moveVaxry2025-04-051-2/+1
| | | | ref #9809
* core: fix artifacts when fullscreening (#9778)nyx2025-03-301-0/+3
| | | | | | | * core: fix artifacts when fullscreening fixes an issue where fullscreening a floating window that is between two monitors causes artifacts to appear on the monitor where it did not become fullscreened on * e
* core: fix null ref when resuming system (#9794)nyx2025-03-301-2/+4
| | | | | * core: fix null ref when resuming system * e
* workspaces: Add binds:hide_special_on_workspace_change (#9728)LeviVanDerMaas2025-03-301-0/+5
|
* workspaces: minor fixes to persistenceVaxry2025-03-271-2/+13
| | | | fixes #9741
* 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
|