X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=blobdiff_plain;f=src%2Flogin%2Flogind-button.c;h=210b889c4f987cd7998b38ac69e0578c77e98603;hb=58764450160b12913bd66fe89901f0a37dec2774;hp=8079d0b5aa93231341570bfbb1386becae99edf2;hpb=f5765a8e9044f87b6acbf9c4fbf4f63553ff0276;p=elogind.git diff --git a/src/login/logind-button.c b/src/login/logind-button.c index 8079d0b5a..210b889c4 100644 --- a/src/login/logind-button.c +++ b/src/login/logind-button.c @@ -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;