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.
This commit is contained in:
Sebastian Dransfeld 2014-03-19 13:35:37 +01:00
parent 75d25f8c47
commit 30846ee4ea
1 changed files with 1 additions and 0 deletions

View File

@ -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();