forked from enlightenment/enlightenment
parent
414160668a
commit
e95ad85d54
|
@ -177,7 +177,7 @@ _e_app_cb_scan_cache_timer(void *data)
|
|||
char buf[4096];
|
||||
E_App_Cache *ac;
|
||||
int is_dir = 0;
|
||||
|
||||
|
||||
sc = data;
|
||||
s = ecore_list_next(sc->files);
|
||||
if (!s)
|
||||
|
|
|
@ -5333,8 +5333,8 @@ _e_border_eval(E_Border *bd)
|
|||
if (bd->cur_mouse_action)
|
||||
{
|
||||
ecore_x_pointer_xy_get(bd->zone->container->win, &x, &y);
|
||||
bd->x = x - (bd->w >> 1);
|
||||
bd->y = y - (bd->client_inset.t >> 1);
|
||||
bd->x = (x - bd->zone->x) - (bd->w >> 1);
|
||||
bd->y = (y - bd->zone->y) - (bd->client_inset.t >> 1);
|
||||
bd->changed = 1;
|
||||
bd->changes.pos = 1;
|
||||
ecore_x_icccm_move_resize_send(bd->client.win,
|
||||
|
|
|
@ -488,8 +488,8 @@ e_place_zone_manual(E_Zone *zone, int w, int h, int *rx, int *ry)
|
|||
E_OBJECT_CHECK_RETURN(zone, 0);
|
||||
|
||||
ecore_x_pointer_xy_get(zone->container->win, &cursor_x, &cursor_y);
|
||||
*rx = cursor_x - (w >> 1);
|
||||
*ry = cursor_y - (h >> 1);
|
||||
if (rx) *rx = (cursor_x - zone->x) - (w >> 1);
|
||||
if (ry) *ry = (cursor_y - zone->y) - (h >> 1);
|
||||
|
||||
return 1;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue