Check for subsurfaces and popups before using wlr_output_set_fullscreen_surface

This commit is contained in:
emersion 2017-11-20 19:45:10 +01:00
parent 80998cdf57
commit abab2902f5
No known key found for this signature in database
GPG key ID: 0FDE7BE0E88F5E48
4 changed files with 43 additions and 7 deletions

View file

@ -19,13 +19,14 @@ struct roots_output {
struct wlr_output *wlr_output;
struct wl_listener frame;
struct timespec last_frame;
struct wl_list link;
struct wl_list link; // roots_desktop:outputs
struct roots_view *fullscreen_view;
};
struct roots_desktop {
struct wl_list views; // roots_view::link
struct wl_list outputs;
struct wl_list outputs; // roots_output::link
struct timespec last_frame;
struct roots_server *server;