From 30846ee4eab92dbc93d09f3aa3fe86b251446b0e Mon Sep 17 00:00:00 2001 From: Sebastian Dransfeld Date: Wed, 19 Mar 2014 13:35:37 +0100 Subject: [PATCH] randr: Update lid status when outputs change If we only have lid, it will be active even though lid is closed. If we connect a monitor we want the lid to deactivate. --- src/bin/e_randr.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/bin/e_randr.c b/src/bin/e_randr.c index c8cec1e51..f63fe14f4 100644 --- a/src/bin/e_randr.c +++ b/src/bin/e_randr.c @@ -750,6 +750,7 @@ _e_randr_event_cb_output_change(void *data EINA_UNUSED, int type EINA_UNUSED, vo /* save the config if anything changed or we added a new one */ if (changed) { + _e_randr_lid_update(); _e_randr_config_primary_update(); _e_randr_apply();