diff options
| author | Nathan Ollerenshaw <chrome@stupendous.net> | 2025-04-14 02:07:53 -0700 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-04-14 11:07:53 +0200 |
| commit | 533bc5115e49a6d0d093b45f7db65854bc9a0494 (patch) | |
| tree | 5e538ba7ffd2939a88817870f11c2e966bd75ac4 /src/Compositor.cpp | |
| parent | 99ab3e19d928c3c33ca7d7c5f5b0cbc7eb50dce5 (diff) | |
monitors: fix disconnected monitors are reconnected to an empty workspace (#9874)
---------
Co-authored-by: nyx <nnyyxxxx@protonmail.com>
Diffstat (limited to 'src/Compositor.cpp')
| -rw-r--r-- | src/Compositor.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Compositor.cpp b/src/Compositor.cpp index 49b3a2cb..fed80120 100644 --- a/src/Compositor.cpp +++ b/src/Compositor.cpp @@ -923,7 +923,7 @@ PHLWINDOW CCompositor::vectorToWindowUnified(const Vector2D& pos, uint8_t proper if (w->m_bIsX11 && w->isX11OverrideRedirect() && !w->m_pXWaylandSurface->wantsFocus()) { // Override Redirect return g_pCompositor->m_pLastWindow.lock(); // we kinda trick everything here. - // TODO: this is wrong, we should focus the parent, but idk how to get it considering it's nullptr in most cases. + // TODO: this is wrong, we should focus the parent, but idk how to get it considering it's nullptr in most cases. } return w; |
