Discover swaylock extension in registry

This commit is contained in:
Drew DeVault 2015-12-10 08:04:22 -05:00
parent 080a263785
commit 067ac6cfa7
4 changed files with 34 additions and 3 deletions

View file

@ -3,6 +3,7 @@
#include <wayland-client.h>
#include "wayland-desktop-shell-client-protocol.h"
#include "wayland-swaylock-client-protocol.h"
#include "list.h"
struct output_state {
@ -19,6 +20,7 @@ struct registry {
struct wl_shell *shell;
struct wl_shm *shm;
struct desktop_shell *desktop_shell;
struct lock *swaylock;
list_t *outputs;
};