princeamd pushed a commit to branch enlightenment-0.17.
commit b2c3ccd6764a9ce910e0cdbd42595f6ad1c4199e
Author: Christopher Michael <[email protected]>
Date: Tue Feb 19 10:57:52 2013 +0000
Backport: 2edc7cf :: Add some comments.
Signed-off-by: Christopher Michael <[email protected]>
SVN revision: 84173
Signed-off-by: Deon Thomas <[email protected]>
---
src/modules/conf_randr/e_smart_monitor.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/modules/conf_randr/e_smart_monitor.c
b/src/modules/conf_randr/e_smart_monitor.c
index cf8c576..1943ec4 100644
--- a/src/modules/conf_randr/e_smart_monitor.c
+++ b/src/modules/conf_randr/e_smart_monitor.c
@@ -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);
}
}
--
------------------------------------------------------------------------------
This SF.net email is sponsored by Windows:
Build for Windows Store.
http://p.sf.net/sfu/windows-dev2dev