mirror of
https://gitlab.freedesktop.org/wlroots/wlroots.git
synced 2025-11-07 13:29:49 -05:00
Fix maximized windows interaction with layer shell
If there were no layer surfaces the usable area of the output would be an empty box.
This commit is contained in:
parent
a316396eab
commit
b887af9a60
4 changed files with 28 additions and 29 deletions
|
|
@ -1,7 +1,6 @@
|
|||
#ifndef ROOTSTON_LAYERS_H
|
||||
#define ROOTSTON_LAYERS_H
|
||||
#include <stdbool.h>
|
||||
#include <wlr/config.h>
|
||||
#include <wlr/types/wlr_box.h>
|
||||
#include <wlr/types/wlr_surface.h>
|
||||
#include <wlr/types/wlr_layer_shell.h>
|
||||
|
|
@ -15,11 +14,12 @@ struct roots_layer_surface {
|
|||
struct wl_listener unmap;
|
||||
struct wl_listener surface_commit;
|
||||
struct wl_listener output_destroy;
|
||||
struct wl_listener output_mode;
|
||||
struct wl_listener output_transform;
|
||||
|
||||
bool configured;
|
||||
struct wlr_box geo;
|
||||
};
|
||||
|
||||
struct roots_output;
|
||||
void arrange_layers(struct roots_output *output);
|
||||
|
||||
#endif
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue