mirror of
https://github.com/hyprwm/Hyprland
synced 2026-05-01 02:37:59 +02:00
* fix: track explicit workspace assignments to prevent X11 configure overwrites Instead of only checking for special workspaces, track when workspaces are explicitly assigned via window rules or user actions (movetoworkspace). This prevents onX11ConfigureRequest from overwriting any explicit workspace assignment based on window position. Changes: - Add m_workspaceExplicitlyAssigned flag to CWindow - Set flag when window rules assign workspace - Set flag when user moves window via dispatcher - Check flag in onX11ConfigureRequest instead of just special workspace - Add debug logging for explicit workspace assignments * fix: simplify X11 configure request handling for special workspaces X11 apps send configure requests with positions based on XWayland's monitor layout, which could incorrectly move windows off special workspaces. Skip workspace reassignment when the window is on a special workspace or staying on the same monitor, but always run z-order, fullscreen flag, and damage logic since the configure request may include geometry changes. |
||
|---|---|---|
| .. | ||
| config | ||
| debug | ||
| desktop | ||
| devices | ||
| helpers | ||
| hyprerror | ||
| i18n | ||
| init | ||
| layout | ||
| managers | ||
| pch | ||
| plugins | ||
| protocols | ||
| render | ||
| xwayland | ||
| Compositor.cpp | ||
| Compositor.hpp | ||
| defines.hpp | ||
| includes.hpp | ||
| macros.hpp | ||
| main.cpp | ||
| SharedDefs.hpp | ||
| version.h.in | ||