mirror of
https://github.com/swaywm/sway.git
synced 2025-11-01 22:58:41 -04:00
commit
3082245243
4 changed files with 34 additions and 15 deletions
|
|
@ -9,13 +9,18 @@
|
|||
struct background_config {
|
||||
wlc_handle output;
|
||||
wlc_resource surface;
|
||||
struct wl_resource *resource;
|
||||
// we need the wl_resource of the surface in the destructor
|
||||
struct wl_resource *wl_surface_res;
|
||||
};
|
||||
|
||||
struct panel_config {
|
||||
// wayland resource used in callbacks, is used to track this panel
|
||||
struct wl_resource *wl_resource;
|
||||
wlc_handle output;
|
||||
wlc_resource surface;
|
||||
struct wl_resource *resource;
|
||||
// we need the wl_resource of the surface in the destructor
|
||||
struct wl_resource *wl_surface_res;
|
||||
enum desktop_shell_panel_position panel_position;
|
||||
};
|
||||
|
||||
struct desktop_shell_state {
|
||||
|
|
@ -23,7 +28,6 @@ struct desktop_shell_state {
|
|||
list_t *panels;
|
||||
list_t *lock_surfaces;
|
||||
bool is_locked;
|
||||
enum desktop_shell_panel_position panel_position;
|
||||
struct wlc_size panel_size;
|
||||
};
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue