mirror of
https://github.com/X11Libre/xserver.git
synced 2026-04-14 17:18:09 +00:00
xwayland/present: Update surface window again if manual redirect fails
Even if the manual redirect didn't result in the surface window we wanted, it might be different again without the redirect. I don't know of any specific scenario hitting this though, it's more of a theoretical safeguard. Part-of: <https://gitlab.freedesktop.org/xorg/xserver/-/merge_requests/1637>
This commit is contained in:
committed by
Michel Dänzer
parent
e6c649e6e6
commit
23dde0860c
@@ -1308,6 +1308,7 @@ xwl_present_maybe_redirect_window(WindowPtr window)
|
||||
compUnredirectWindow(serverClient, window, CompositeRedirectManual);
|
||||
xwl_present_window->redirected = FALSE;
|
||||
xwl_present_window->redirect_failed = TRUE;
|
||||
xwl_window_update_surface_window(xwl_window);
|
||||
return FALSE;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user