eufon

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs | README | LICENSE

xdg_shell.h (758B)


      1 /* Copyright (c), Niclas Meyer <niclas@countingsort.com>
      2  *
      3  * This Source Code Form is subject to the terms of the Mozilla Public
      4  * License, v. 2.0. If a copy of the MPL was not distributed with this file,
      5  * You can obtain one at https://mozilla.org/MPL/2.0/.
      6  */
      7 
      8 #ifndef KIWMI_DESKTOP_XDG_SHELL_H
      9 #define KIWMI_DESKTOP_XDG_SHELL_H
     10 
     11 #include <wayland-server.h>
     12 
     13 struct kiwmi_xdg_decoration {
     14     struct kiwmi_view *view;
     15     struct wlr_xdg_toplevel_decoration_v1 *wlr_decoration;
     16 
     17     struct wl_listener destroy;
     18     struct wl_listener request_mode;
     19 };
     20 
     21 void xdg_shell_new_surface_notify(struct wl_listener *listener, void *data);
     22 void
     23 xdg_toplevel_new_decoration_notify(struct wl_listener *listener, void *data);
     24 
     25 #endif /* KIWMI_DESKTOP_XDG_SHELL_H */