Decorations: minor refactoring, no logical changes intended

This commit is contained in:
Consolatis 2023-03-23 20:55:14 +01:00 committed by Johan Malm
parent 35e71ada82
commit 5ee2ec7fff
4 changed files with 55 additions and 35 deletions

9
include/decorations.h Normal file
View file

@ -0,0 +1,9 @@
/* SPDX-License-Identifier: GPL-2.0-only */
#ifndef __LAB_DECORATIONS_H
#define __LAB_DECORATIONS_H
struct server;
void xdg_server_decoration_init(struct server *server);
#endif /* __LAB_DECORATIONS_H */

View file

@ -38,7 +38,6 @@
#include <wlr/types/wlr_subcompositor.h>
#include <wlr/types/wlr_xcursor_manager.h>
#include <wlr/types/wlr_xdg_activation_v1.h>
#include <wlr/types/wlr_xdg_decoration_v1.h>
#include <wlr/types/wlr_xdg_shell.h>
#include <wlr/types/wlr_drm_lease_v1.h>
#include <wlr/types/wlr_virtual_pointer_v1.h>
@ -349,8 +348,6 @@ struct idle_inhibitor {
void xdg_popup_create(struct view *view, struct wlr_xdg_popup *wlr_popup);
void xdg_toplevel_decoration(struct wl_listener *listener, void *data);
void xdg_activation_handle_request(struct wl_listener *listener, void *data);
void xdg_surface_new(struct wl_listener *listener, void *data);