Summary: | Hot-plugging Primary Monitor not handled correctly for XWayland | ||
---|---|---|---|
Product: | [Plasma] kwin | Reporter: | Aleksey Zagorodnikov <xglooom> |
Component: | wayland-generic | Assignee: | KWin default assignee <kwin-bugs-null> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | aleixpol, nate, xglooom |
Priority: | NOR | ||
Version: | git-stable-Plasma/5.24 | ||
Target Milestone: | --- | ||
Platform: | Manjaro | ||
OS: | Linux | ||
Latest Commit: | https://invent.kde.org/plasma/kwin/commit/27254f61ff57f38ce95d28f1110e0159ef6e9ae4 | Version Fixed In: | 5.24 |
Description
Aleksey Zagorodnikov
2022-01-24 21:00:54 UTC
Can reproduce. As discussed https://invent.kde.org/plasma/kwin/-/commit/f91ae3e97584767d273479c4013a43e279d77f40 A possibly relevant merge request was started @ https://invent.kde.org/plasma/kwin/-/merge_requests/1945 Git commit d1698e12706baedc054e1dea78960cf31a63dddc by Aleix Pol Gonzalez, on behalf of Aleix Pol. Committed on 27/01/2022 at 11:31. Pushed by apol into branch 'master'. Fix xrandr primary when the new screen is the connected one We'd trigger updatePrimary before Xwayland had reacted to the new output so we wouldn't end up calling xcb_randr_set_output_primary() as necessary. M +1 -0 src/utils/xcbutils.cpp M +32 -0 src/xwl/xwayland.cpp M +4 -0 src/xwl/xwayland.h https://invent.kde.org/plasma/kwin/commit/d1698e12706baedc054e1dea78960cf31a63dddc Git commit 27254f61ff57f38ce95d28f1110e0159ef6e9ae4 by Aleix Pol Gonzalez, on behalf of Aleix Pol. Committed on 27/01/2022 at 14:19. Pushed by apol into branch 'Plasma/5.24'. Fix xrandr primary when the new screen is the connected one We'd trigger updatePrimary before Xwayland had reacted to the new output so we wouldn't end up calling xcb_randr_set_output_primary() as necessary. (cherry picked from commit d1698e12706baedc054e1dea78960cf31a63dddc) M +1 -0 src/utils/xcbutils.cpp M +32 -0 src/xwl/xwayland.cpp M +4 -0 src/xwl/xwayland.h https://invent.kde.org/plasma/kwin/commit/27254f61ff57f38ce95d28f1110e0159ef6e9ae4 |