chiark / gitweb /
logind: rework display counting when detecting whether the system is docked
[elogind.git] / src / login / logind-button.c
index 8079d0b5aa93231341570bfbb1386becae99edf2..210b889c4f987cd7998b38ac69e0578c77e98603 100644 (file)
@@ -100,7 +100,7 @@ static void button_lid_switch_handle_action(Manager *manager, bool is_edge) {
         assert(manager);
 
         /* If we are docked, handle the lid switch differently */
-        if (manager_is_docked_or_multiple_displays(manager))
+        if (manager_is_docked_or_external_displays(manager))
                 handle_action = manager->handle_lid_switch_docked;
         else
                 handle_action = manager->handle_lid_switch;