Enlightenment CVS committal
Author : sebastid
Project : e17
Module : apps/e
Dir : e17/apps/e/src/bin
Modified Files:
e_border.c
Log Message:
Allow to go from maximized to fullscreen and vice versa.
===================================================================
RCS file: /cvsroot/enlightenment/e17/apps/e/src/bin/e_border.c,v
retrieving revision 1.376
retrieving revision 1.377
diff -u -3 -r1.376 -r1.377
--- e_border.c 30 Aug 2005 02:50:21 -0000 1.376
+++ e_border.c 30 Aug 2005 03:18:34 -0000 1.377
@@ -1207,7 +1207,9 @@
E_OBJECT_CHECK(bd);
E_OBJECT_TYPE_CHECK(bd, E_BORDER_TYPE);
- if ((bd->fullscreen) || (bd->shaded) || (bd->shading)) return;
+ if ((bd->shaded) || (bd->shading)) return;
+ if (bd->fullscreen)
+ e_border_unfullscreen(bd);
if (!bd->maximized)
{
int x1, y1, x2, y2;
@@ -1319,7 +1321,7 @@
{
E_OBJECT_CHECK(bd);
E_OBJECT_TYPE_CHECK(bd, E_BORDER_TYPE);
- if ((bd->fullscreen) || (bd->shaded) || (bd->shading)) return;
+ if ((bd->shaded) || (bd->shading)) return;
if (bd->maximized)
{
// printf("UNMAXIMIZE!!\n");
@@ -1383,8 +1385,9 @@
* Black background!
*/
- /* FIXME: Some types of maximized might allow this */
- if ((bd->maximized) || (bd->shaded) || (bd->shading)) return;
+ if ((bd->shaded) || (bd->shading)) return;
+ if (bd->maximized)
+ e_border_unmaximize(bd);
if (!bd->fullscreen)
{
int x, y, w, h;
@@ -1432,8 +1435,7 @@
{
E_OBJECT_CHECK(bd);
E_OBJECT_TYPE_CHECK(bd, E_BORDER_TYPE);
- /* FIXME: Some types of maximized might allow this */
- if ((bd->maximized) || (bd->shaded) || (bd->shading)) return;
+ if ((bd->shaded) || (bd->shading)) return;
if (bd->fullscreen)
{
// printf("UNFULLSCREEEN!\n");
-------------------------------------------------------
SF.Net email is Sponsored by the Better Software Conference & EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
_______________________________________________
enlightenment-cvs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs