Enlightenment CVS committal Author : kwo Project : e16 Module : e
Dir : e16/e/src Modified Files: borders.c Log Message: Oops - fix to borderless fullscreen windows. =================================================================== RCS file: /cvsroot/enlightenment/e16/e/src/borders.c,v retrieving revision 1.207 retrieving revision 1.208 diff -u -3 -r1.207 -r1.208 --- borders.c 2 Jul 2004 17:36:58 -0000 1.207 +++ borders.c 2 Jul 2004 20:59:32 -0000 1.208 @@ -1129,8 +1129,6 @@ { Border *b; - ewin->normal_border = ewin->border; - /* Quit if we allready have a border that isn't the fallback one */ b = ewin->border; if (b && strcmp(b->name, "__FALLBACK_BORDER")) @@ -1779,6 +1777,9 @@ { ewin->border = b; } + + if (!ewin->st.fullscreen) + ewin->normal_border = b; } void @@ -3220,8 +3221,8 @@ ewin->layer = 10; #endif ewin->fixedpos = 1; - ewin->st.fullscreen = 1; - b = (Border *) FindItem("BORDERLESS", 0, LIST_FINDBY_NAME, LIST_TYPE_BORDER); + b = (Border *) FindItem("BORDERLESS", 0, LIST_FINDBY_NAME, + LIST_TYPE_BORDER); } else { @@ -3231,9 +3232,9 @@ h = ewin->lh; ewin->layer = ewin->ll; ewin->fixedpos = 0; /* Yeah - well */ - ewin->st.fullscreen = 0; b = ewin->normal_border; } + ewin->st.fullscreen = on; RaiseEwin(ewin); MoveResizeEwin(ewin, x, y, w, h); HintsSetWindowState(ewin); ------------------------------------------------------- This SF.Net email sponsored by Black Hat Briefings & Training. Attend Black Hat Briefings & Training, Las Vegas July 24-29 - digital self defense, top technical experts, no vendor pitches, unmatched networking opportunities. Visit www.blackhat.com _______________________________________________ enlightenment-cvs mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs