don't need to use real image geom in teamwork if we only show smaller resolution
authordiscomfitor <michael.blumenkrantz@gmail.com>
Sat, 15 Jun 2013 23:57:53 +0000 (00:57 +0100)
committerdiscomfitor <michael.blumenkrantz@gmail.com>
Sat, 15 Jun 2013 23:58:44 +0000 (00:58 +0100)
src/modules/teamwork/e_mod_tw.c

index e9ca774..2c870c2 100644 (file)
@@ -712,7 +712,7 @@ tw_show_helper(Evas_Object *o, int w, int h)
         pw = lround((double)(ph * w) / ((double)h));
      }
    e_widget_preview_size_set(o, pw, ph);
-   e_widget_preview_vsize_set(o, w, h);
+   e_widget_preview_vsize_set(o, pw, ph);
    e_popup_layer_set(tw_mod->pop, E_COMP_CANVAS_LAYER_POPUP, 0);
 
    if ((last_coords.x == last_coords.y) && (last_coords.x == -1))