Add some comments.
authorChristopher Michael <cp.michael@samsung.com>
Tue, 19 Feb 2013 10:57:52 +0000 (10:57 +0000)
committerChristopher Michael <cpmichael1@comcast.net>
Tue, 19 Feb 2013 10:57:52 +0000 (10:57 +0000)
Signed-off-by: Christopher Michael <cp.michael@samsung.com>
SVN revision: 84173

src/modules/conf_randr/e_smart_monitor.c

index cf8c576..1943ec4 100644 (file)
@@ -1002,11 +1002,11 @@ _e_smart_monitor_resize_event(E_Smart_Data *sd, Evas_Object *mon, void *event)
    /* try to find a mode that matches this new size */
    if ((mode = _e_smart_monitor_mode_find(sd, nw, nh, EINA_FALSE)))
      {
-        /* TODO: update current mode */
-
+        /* update monitor size in the grid */
         evas_object_grid_pack(sd->grid.obj, mon, 
                               sd->cx, sd->cy, mode->width, mode->height);
 
+        /* update resolution text */
         _e_smart_monitor_resolution_set(sd, mode->width, mode->height);
      }
 }