Enlightenment CVS committal Author : morlenxus Project : e17 Module : apps/e
Dir : e17/apps/e/src/bin Modified Files: e_border.c Log Message: Fix bugzilla id 398 - Unmaximize problems with xinerama. =================================================================== RCS file: /cvs/e/e17/apps/e/src/bin/e_border.c,v retrieving revision 1.638 retrieving revision 1.639 diff -u -3 -r1.638 -r1.639 --- e_border.c 17 Jul 2008 14:01:36 -0000 1.638 +++ e_border.c 19 Jul 2008 21:52:44 -0000 1.639 @@ -2024,7 +2024,7 @@ { /* Remove vertical */ h = bd->saved.h; - y = bd->saved.y; + y = bd->saved.y + bd->zone->y; bd->saved.h = bd->saved.y = 0; bd->maximized &= ~E_MAXIMIZE_VERTICAL; } @@ -2032,13 +2032,13 @@ { /* Remove horizontal */ w = bd->saved.w; - x = bd->saved.x; + x = bd->saved.x + bd->zone->x; bd->saved.w = bd->saved.x = 0; bd->maximized &= ~E_MAXIMIZE_HORIZONTAL; } e_border_resize_limit(bd, &w, &h); - e_border_move_resize(bd, bd->zone->x + x, bd->zone->y + y, w, h); + e_border_move_resize(bd, x, y, w, h); if (!(bd->maximized & E_MAXIMIZE_DIRECTION)) { bd->maximized = E_MAXIMIZE_NONE; ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ enlightenment-cvs mailing list enlightenment-cvs@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs