diff options
author | Drew DeVault <sir@cmpwn.com> | 2015-12-12 12:53:55 -0500 |
---|---|---|
committer | Drew DeVault <sir@cmpwn.com> | 2015-12-12 12:54:10 -0500 |
commit | 029e0c7a2c212c90577816b8c9012dc2001194fe (patch) | |
tree | a3e070e8abc5a85891c2df47c8e1f7827652a352 /swaylock/main.c | |
parent | 19fd979af495d2ef75efaaad8962da761e4db530 (diff) |
Add some more keyboard handling for wayland clients
Diffstat (limited to 'swaylock/main.c')
-rw-r--r-- | swaylock/main.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/swaylock/main.c b/swaylock/main.c index 0e96afc7..c3743965 100644 --- a/swaylock/main.c +++ b/swaylock/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); } |