Enlightenment CVS committal Author : raster Project : e17 Module : apps/e
Dir : e17/apps/e/src/bin Modified Files: e_border.c Log Message: catch oversized remembers for internals =================================================================== RCS file: /cvs/e/e17/apps/e/src/bin/e_border.c,v retrieving revision 1.551 retrieving revision 1.552 diff -u -3 -r1.551 -r1.552 --- e_border.c 9 Oct 2006 05:33:09 -0000 1.551 +++ e_border.c 9 Oct 2006 15:17:22 -0000 1.552 @@ -5336,6 +5336,16 @@ /* we can trust internal windows */ if (bd->internal) { + if (bd->zone->w != rem->prop.res_x) + { + if (bd->client.w > (bd->zone->w - 32)) + bd->client.w = bd->zone->w - 32; + } + if (bd->zone->h != rem->prop.res_y) + { + if (bd->client.h > (bd->zone->h - 32)) + bd->client.h = bd->zone->h - 32; + } if (bd->client.icccm.min_w > bd->client.w) bd->client.w = bd->client.icccm.min_w; if (bd->client.icccm.max_w < bd->client.w) ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ enlightenment-cvs mailing list enlightenment-cvs@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs