Elementary: Fix ticket #1376: Titlebar respondes to gestures in

Gesture Layer 2.



SVN revision: 75948
This commit is contained in:
Christopher Michael 2012-09-03 06:08:52 +00:00
parent fdb80741b6
commit a5c62221a6
1 changed files with 5 additions and 1 deletions

View File

@ -526,6 +526,7 @@ test_gesture_layer2(void *data __UNUSED__, Evas_Object *obj __UNUSED__,
Evas_Object *win, *tb, *lb, *bx;
Evas_Object *r; /* Gesture layer transparent object */
Evas_Object *g; /* The Gesture Layer object */
Evas_Coord fx = 0, fy = 0;
infra_data *infra = _infra_data_alloc();
@ -667,9 +668,12 @@ test_gesture_layer2(void *data __UNUSED__, Evas_Object *obj __UNUSED__,
evas_object_show(lb);
/* END - Building icons table */
evas_output_framespace_get(evas_object_evas_get(win),
&fx, &fy, NULL, NULL);
/* Gesture layer transparent object */
r = evas_object_rectangle_add(evas_object_evas_get(win));
evas_object_move(r, 0, 0);
evas_object_move(r, fx, fy);
evas_object_color_set(r, 0, 0, 0, 0);
elm_win_resize_object_add(win, r);