diff options
author | emersion <contact@emersion.fr> | 2018-02-20 16:17:23 +0100 |
---|---|---|
committer | emersion <contact@emersion.fr> | 2018-02-20 16:17:23 +0100 |
commit | dc77b4c8c648c9a19b540fa3402d5400523fa452 (patch) | |
tree | 905b8716ed3ae31d1e97142f96f477bc8a96999a /rootston | |
parent | 6f8eca2b3a13f1c534d20d85771e05971002b0ce (diff) |
rootston: don't send frame done if wlr_output manages the surface
Diffstat (limited to 'rootston')
-rw-r--r-- | rootston/output.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/rootston/output.c b/rootston/output.c index 9dc9899b..127fec78 100644 --- a/rootston/output.c +++ b/rootston/output.c @@ -535,6 +535,11 @@ damage_finish: // Send frame done events to all surfaces if (output->fullscreen_view != NULL) { + if (wlr_output->fullscreen_surface == output->fullscreen_view->wlr_surface) { + // The surface is managed by the wlr_output + return; + } + view_for_each_surface(view, surface_send_frame_done, &data); #ifdef WLR_HAS_XWAYLAND |