summaryrefslogtreecommitdiffstats
path: root/swaylock
diff options
context:
space:
mode:
Diffstat (limited to 'swaylock')
-rw-r--r--swaylock/main.c6
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) {
34 surfaces = create_list(); 34 surfaces = create_list();
35 registry = registry_poll(); 35 registry = registry_poll();
36 36
37 if (!registry->swaylock) { 37 /*if (!registry->swaylock) {
38 sway_abort("swaylock requires the compositor to support the swaylock extension."); 38 sway_abort("swaylock requires the compositor to support the swaylock extension.");
39 } 39 }*/
40 40
41 int i; 41 int i;
42 for (i = 0; i < registry->outputs->length; ++i) { 42 for (i = 0; i < registry->outputs->length; ++i) {
@@ -45,7 +45,7 @@ int main(int argc, char **argv) {
45 if (!window) { 45 if (!window) {
46 sway_abort("Failed to create surfaces."); 46 sway_abort("Failed to create surfaces.");
47 } 47 }
48 lock_set_lock_surface(registry->swaylock, output->output, window->surface); 48 //lock_set_lock_surface(registry->swaylock, output->output, window->surface);
49 list_add(surfaces, window); 49 list_add(surfaces, window);
50 } 50 }
51 51