mirror of
https://gitlab.freedesktop.org/wlroots/wlroots.git
synced 2026-04-14 08:22:25 -04:00
Merge branch 'github/fork/imirkin/pause-render' into 'master'
backend/x11: only send frames when the window is visible Closes #2675 See merge request wlroots/wlroots!2682
This commit is contained in:
commit
1467218b64
3 changed files with 71 additions and 5 deletions
|
|
@ -47,6 +47,8 @@ struct wlr_x11_output {
|
|||
pixman_region32_t exposed;
|
||||
|
||||
uint64_t last_msc;
|
||||
bool mapped;
|
||||
bool hidden;
|
||||
|
||||
struct {
|
||||
struct wlr_swapchain *swapchain;
|
||||
|
|
@ -94,6 +96,8 @@ struct wlr_x11_backend {
|
|||
xcb_atom_t wm_protocols;
|
||||
xcb_atom_t wm_delete_window;
|
||||
xcb_atom_t net_wm_name;
|
||||
xcb_atom_t net_wm_state;
|
||||
xcb_atom_t net_wm_state_hidden;
|
||||
xcb_atom_t utf8_string;
|
||||
xcb_atom_t variable_refresh;
|
||||
} atoms;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue