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:
parent
75d25f8c47
commit
30846ee4ea
|
@ -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();
|
||||
|
||||
|
|
Loading…
Reference in New Issue