forked from enlightenment/efl
Elementary: Fix ticket #1376: Titlebar respondes to gestures in
Gesture Layer 2. SVN revision: 75948
This commit is contained in:
parent
fdb80741b6
commit
a5c62221a6
|
@ -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);
|
||||
|
||||
|
|
Loading…
Reference in New Issue