From: <enl...@li...> - 2005-07-07 13:59:39
|
Enlightenment CVS committal Author : raster Project : e17 Module : apps/e Dir : e17/apps/e/src/bin Modified Files: e_border.c e_remember.c Log Message: fix remember on restart (positions) =================================================================== RCS file: /cvsroot/enlightenment/e17/apps/e/src/bin/e_border.c,v retrieving revision 1.314 retrieving revision 1.315 diff -u -3 -r1.314 -r1.315 --- e_border.c 7 Jul 2005 09:27:04 -0000 1.314 +++ e_border.c 7 Jul 2005 13:59:32 -0000 1.315 @@ -4001,7 +4001,7 @@ if (desk) e_border_desk_set(bd, desk); } - if (rem->apply & E_REMEMBER_APPLY_POS) + if ((rem->apply & E_REMEMBER_APPLY_POS) && (!bd->re_manage)) { E_Event_Border_Move *ev; =================================================================== RCS file: /cvsroot/enlightenment/e17/apps/e/src/bin/e_remember.c,v retrieving revision 1.3 retrieving revision 1.4 diff -u -3 -r1.3 -r1.4 --- e_remember.c 7 Jul 2005 09:27:58 -0000 1.3 +++ e_remember.c 7 Jul 2005 13:59:32 -0000 1.4 @@ -145,8 +145,8 @@ if (bd->client.icccm.window_role) rem->role = strdup(bd->client.icccm.window_role); - rem->prop.pos_x = bd->x + bd->client_inset.l - bd->zone->x; - rem->prop.pos_y = bd->y + bd->client_inset.t - bd->zone->y; + rem->prop.pos_x = bd->x - bd->zone->x; + rem->prop.pos_y = bd->y - bd->zone->y; rem->prop.res_x = bd->zone->w; rem->prop.res_y = bd->zone->h; rem->prop.pos_w = bd->client.w; |