https://bugs.kde.org/show_bug.cgi?id=484687

Marco Martin <notm...@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
      Latest Commit|https://invent.kde.org/plas |https://invent.kde.org/plas
                   |ma/plasma-workspace/-/commi |ma/plasma-workspace/-/commi
                   |t/b833966ad2e56714eddc99942 |t/27e16b504b96a717691abe5ce
                   |0dec24f7fa3e0cd             |f63e9fdc3ee0670

--- Comment #26 from Marco Martin <notm...@gmail.com> ---
Git commit 27e16b504b96a717691abe5cef63e9fdc3ee0670 by Marco Martin.
Committed on 30/09/2024 at 09:37.
Pushed by mart into branch 'Plasma/6.2'.

outputorderwatcher: watch for when the last output is removed

watch for XCB_RANDR_CONNECTION_DISCONNECTED to immediately remove from
the screen order, to avoid the data inconsistency when the last screen
gets removed

When the ast screen is removed, its qscreen becomes name ":0.0" as the fake
screen, but nothing happens really,
screenpool doesn't notice (and looking at the assert_x there are, that was
expected"
then the screen gets connected again, a new screen gets conencted, the old 0.0
one
gets disconnected, but the screen order stuff doesn't say anything as it's
still
the same connector name as before so screenpool finds itself with an empty
screenorder


(cherry picked from commit b833966ad2e56714eddc999420dec24f7fa3e0cd)

16c98c28 outputorderwatcher: watch for when the last output is removed
9aec2c7a add comments on what's going on
b1911f16 more comments

Co-authored-by: Marco Martin <notm...@gmail.com>

M  +26   -0    libkworkspace/outputorderwatcher.cpp
M  +0    -5    shell/screenpool.cpp

https://invent.kde.org/plasma/plasma-workspace/-/commit/27e16b504b96a717691abe5cef63e9fdc3ee0670

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to