englebass pushed a commit to branch master.

http://git.enlightenment.org/core/enlightenment.git/commit/?id=30846ee4eab92dbc93d09f3aa3fe86b251446b0e

commit 30846ee4eab92dbc93d09f3aa3fe86b251446b0e
Author: Sebastian Dransfeld <s...@tango.flipp.net>
Date:   Wed Mar 19 13:35:37 2014 +0100

    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 c8cec1e..f63fe14 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();
 

-- 


Reply via email to