mirror of
https://github.com/labwc/labwc.git
synced 2025-11-02 09:01:47 -05:00
Decorations: handle results of kde-server-decoration negotiations
This commit is contained in:
parent
5ee2ec7fff
commit
ef30e3750d
6 changed files with 160 additions and 36 deletions
|
|
@ -3,7 +3,13 @@
|
|||
#define __LAB_DECORATIONS_H
|
||||
|
||||
struct server;
|
||||
struct view;
|
||||
struct wlr_surface;
|
||||
|
||||
void kde_server_decoration_init(struct server *server);
|
||||
void xdg_server_decoration_init(struct server *server);
|
||||
|
||||
void kde_server_decoration_update_default(void);
|
||||
void kde_server_decoration_set_view(struct view *view, struct wlr_surface *surface);
|
||||
|
||||
#endif /* __LAB_DECORATIONS_H */
|
||||
|
|
|
|||
|
|
@ -34,7 +34,6 @@
|
|||
#include <wlr/types/wlr_pointer_constraints_v1.h>
|
||||
#include <wlr/types/wlr_pointer_gestures_v1.h>
|
||||
#include <wlr/types/wlr_seat.h>
|
||||
#include <wlr/types/wlr_server_decoration.h>
|
||||
#include <wlr/types/wlr_subcompositor.h>
|
||||
#include <wlr/types/wlr_xcursor_manager.h>
|
||||
#include <wlr/types/wlr_xdg_activation_v1.h>
|
||||
|
|
@ -220,6 +219,7 @@ struct server {
|
|||
struct wl_listener new_xdg_surface;
|
||||
struct wl_listener new_layer_surface;
|
||||
|
||||
struct wl_listener kde_server_decoration;
|
||||
struct wl_listener xdg_toplevel_decoration;
|
||||
#if HAVE_XWAYLAND
|
||||
struct wlr_xwayland *xwayland;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue