From f7f73f6299ce203d1d36ef0086e4e2157a033dc8 Mon Sep 17 00:00:00 2001 From: Drew DeVault Date: Sat, 12 Dec 2015 12:53:55 -0500 Subject: [PATCH] Add some more keyboard handling for wayland clients --- main.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/main.c b/main.c index 0e96afc..c374396 100644 --- a/main.c +++ b/main.c @@ -34,9 +34,9 @@ int main(int argc, char **argv) { surfaces = create_list(); registry = registry_poll(); - if (!registry->swaylock) { + /*if (!registry->swaylock) { sway_abort("swaylock requires the compositor to support the swaylock extension."); - } + }*/ int i; for (i = 0; i < registry->outputs->length; ++i) { @@ -45,7 +45,7 @@ int main(int argc, char **argv) { if (!window) { sway_abort("Failed to create surfaces."); } - lock_set_lock_surface(registry->swaylock, output->output, window->surface); + //lock_set_lock_surface(registry->swaylock, output->output, window->surface); list_add(surfaces, window); }