princeamd pushed a commit to branch enlightenment-0.17.

commit 0658fda5a7e132e78608f341c60fe3728b84683b
Author: Christopher Michael <[email protected]>
Date:   Tue Feb 19 10:59:03 2013 +0000

    Backport: 1d10a38 :: Actually, allow move/resize/rotate for disabled 
monitors so things can be adjusted (NB: Will not actually mattery on Apply 
anyway).
    
    Signed-off-by: Christopher Michael <[email protected]>
    
    SVN revision: 84197
    Signed-off-by: Deon Thomas <[email protected]>
---
 src/modules/conf_randr/e_smart_monitor.c | 5 +----
 1 file changed, 1 insertion(+), 4 deletions(-)

diff --git a/src/modules/conf_randr/e_smart_monitor.c 
b/src/modules/conf_randr/e_smart_monitor.c
index 086f07a..7cc4c86 100644
--- a/src/modules/conf_randr/e_smart_monitor.c
+++ b/src/modules/conf_randr/e_smart_monitor.c
@@ -1177,7 +1177,7 @@ _e_smart_monitor_frame_cb_mouse_move(void *data, Evas 
*evas EINA_UNUSED, Evas_Ob
    if (!(sd = evas_object_smart_data_get(mon))) return;
 
    /* if the monitor is disabled, get out */
-   if (!sd->current.enabled) return;
+   /* if (!sd->current.enabled) return; */
 
    /* call appropriate function based on current action */
    if (sd->resizing) 
@@ -1514,10 +1514,8 @@ _e_smart_monitor_resize_event(E_Smart_Data *sd, 
Evas_Object *mon, void *event)
    dy = (ev->cur.canvas.y - ev->prev.canvas.y);
 
    /* convert monitor size to canvas size */
-   printf("Virtual: %d %d\n", sd->current.w, sd->current.h);
    _e_smart_monitor_coord_virtual_to_canvas(sd, sd->current.w, sd->current.h, 
                                             &mw, &mh);
-   printf("Canvas: %d %d\n", mw, mh);
 
    /* factor in resize difference and convert to virtual */
    _e_smart_monitor_coord_canvas_to_virtual(sd, (mw + dx), (mh + dy), 
@@ -1526,7 +1524,6 @@ _e_smart_monitor_resize_event(E_Smart_Data *sd, 
Evas_Object *mon, void *event)
    /* update current size values */
    sd->current.w = nw;
    sd->current.h = nh;
-   printf("New Virtual: %d %d\n", nw, nh);
 
    /* based on orientation, try to find a valid mode */
    if ((sd->current.orient == ECORE_X_RANDR_ORIENTATION_ROT_0) || 

-- 

------------------------------------------------------------------------------
This SF.net email is sponsored by Windows:

Build for Windows Store.

http://p.sf.net/sfu/windows-dev2dev

Reply via email to