mirror of
https://gitlab.freedesktop.org/wlroots/wlroots.git
synced 2026-02-06 04:06:11 -05:00
backend/x11: only send frames when the window is mapped
Tested with WindowMaker. When switching to another workspace, minimizing, or rolling up the window, we get an UnmapNotify event, and a corresponding MapNotify event when the window appears on screen again. Fixes #2675
This commit is contained in:
parent
ef94e7e847
commit
04d448317a
3 changed files with 26 additions and 4 deletions
|
|
@ -51,6 +51,7 @@ struct wlr_x11_output {
|
|||
pixman_region32_t exposed;
|
||||
|
||||
uint64_t last_msc;
|
||||
bool mapped;
|
||||
|
||||
struct {
|
||||
struct wlr_swapchain *swapchain;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue