Skip to content
Snippets Groups Projects
Commit 3ddb81b1 authored by Michel Dänzer's avatar Michel Dänzer
Browse files

xwayland: Update screen pixmap for root window in xwl_window_set_pixmap

If the old window pixmap was the screen pixmap.

Fixes screen->GetScreenPixmap() returning a stale pointer to a destroyed
pixmap with rootful Xwayland. It would result in a crash after resizing
the Xwayland window, or at the latest when shutting down.

Fixes: 6779ec5b ("xwayland: Use window pixmap as a window buffer")
Closes: #1621
parent 2ef0f111
No related branches found
No related tags found
1 merge request!1248xwayland: Update screen pixmap for root window in xwl_window_set_pixmap
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment