mirror of
https://gitlab.freedesktop.org/wlroots/wlroots.git
synced 2025-11-02 09:01:38 -05:00
Check for subsurfaces and popups before using wlr_output_set_fullscreen_surface
This commit is contained in:
parent
80998cdf57
commit
abab2902f5
4 changed files with 43 additions and 7 deletions
|
|
@ -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;
|
||||
|
|
|
|||
|
|
@ -57,7 +57,7 @@ struct roots_view {
|
|||
float rotation;
|
||||
|
||||
bool maximized;
|
||||
struct wlr_output *fullscreen_output;
|
||||
struct roots_output *fullscreen_output;
|
||||
struct {
|
||||
double x, y;
|
||||
uint32_t width, height;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue