aboutsummaryrefslogtreecommitdiffstats
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 fbe2851b..4073da99 100644
--- a/swaylock/main.c
+++ b/swaylock/main.c
@@ -97,9 +97,9 @@ int main(int argc, char **argv) {
97 surfaces = create_list(); 97 surfaces = create_list();
98 registry = registry_poll(); 98 registry = registry_poll();
99 99
100 /*if (!registry->swaylock) { 100 if (!registry->swaylock) {
101 sway_abort("swaylock requires the compositor to support the swaylock extension."); 101 sway_abort("swaylock requires the compositor to support the swaylock extension.");
102 }*/ 102 }
103 103
104 int i; 104 int i;
105 for (i = 0; i < registry->outputs->length; ++i) { 105 for (i = 0; i < registry->outputs->length; ++i) {
@@ -108,7 +108,7 @@ int main(int argc, char **argv) {
108 if (!window) { 108 if (!window) {
109 sway_abort("Failed to create surfaces."); 109 sway_abort("Failed to create surfaces.");
110 } 110 }
111 //lock_set_lock_surface(registry->swaylock, output->output, window->surface); 111 lock_set_lock_surface(registry->swaylock, output->output, window->surface);
112 list_add(surfaces, window); 112 list_add(surfaces, window);
113 } 113 }
114 114