improvement on xdg request handles
This commit is contained in:
4
diyac.h
4
diyac.h
@@ -12,6 +12,7 @@
|
||||
#include <wlr/types/wlr_subcompositor.h>
|
||||
#include <wlr/types/wlr_data_device.h>
|
||||
#include <wlr/types/wlr_output_layout.h>
|
||||
#include <wlr/types/wlr_fractional_scale_v1.h>
|
||||
|
||||
#define LAYER_TREE_SZ 4
|
||||
/* For brevity's sake, struct members are annotated where they are used. */
|
||||
@@ -106,6 +107,7 @@ struct diyac_server
|
||||
struct wl_listener new_xdg_surface;
|
||||
struct wl_listener new_layer_surface;
|
||||
struct wl_list views;
|
||||
|
||||
/*
|
||||
* Popups need to be rendered above always-on-top views, so we reparent
|
||||
* them to this dedicated tree
|
||||
@@ -180,7 +182,7 @@ struct diyac_view
|
||||
struct wl_listener request_maximize;
|
||||
struct wl_listener request_fullscreen;
|
||||
|
||||
struct wl_listener set_app_id;
|
||||
struct wl_listener set_app_id; // only useful when using SSD
|
||||
struct wl_listener new_popup;
|
||||
};
|
||||
|
||||
|
Reference in New Issue
Block a user