hi,

the problem is that to fullscreen and to unfullscreen of
fullscreen-windows makes deskswitching a lot slower (and looks ugly
too). I use many programs in fullscreen mode so this really annoyed me
for while.

is there a special reason why e_border_hide does also unfullscreen
windows? since it looks mainly like a workaroung with this
want_fullscreen-flag used in e_desk.


regards,
Hannes Janetzek
Index: e_desk.c
===================================================================
RCS file: /var/cvs/e/e17/apps/e/src/bin/e_desk.c,v
retrieving revision 1.70
diff -u -r1.70 e_desk.c
--- e_desk.c	15 Nov 2007 20:16:25 -0000	1.70
+++ e_desk.c	8 Dec 2007 18:04:45 -0000
@@ -244,17 +244,11 @@
 		  if ((bd->desk == desk) || (bd->sticky))
 		    {
 		       e_border_show(bd);
-		       if (bd->want_fullscreen)
-			 {
-			    e_border_fullscreen(bd, e_config->fullscreen_policy);
-			    bd->want_fullscreen = 0;
-			 }
 		    }
 		  else if (bd->moving)
 		    e_border_desk_set(bd, desk);
 		  else
 		    {
-		       if (bd->fullscreen) bd->want_fullscreen = 1;
 		       e_border_hide(bd, 2);
 		    }
 	       }
@@ -599,11 +593,6 @@
 		    bd->fx.start.y += bd->zone->container->h - (bd->zone->y + bd->zone->h);
 		  e_border_fx_offset(bd, bd->fx.start.x, bd->fx.start.y);
 		  e_border_show(bd);
-		  if (bd->want_fullscreen)
-		    {
-		       e_border_fullscreen(bd, e_config->fullscreen_policy);
-		       bd->want_fullscreen = 0;
-		    }
 	       }
 	  }
      }
@@ -737,11 +726,6 @@
 		  else
 		    bd->fx.start.y += bd->zone->container->h - (bd->zone->y + bd->zone->h);
 		  e_border_fx_offset(bd, 0, 0);
-		  if (bd->want_fullscreen)
-		    {
-		       e_border_fullscreen(bd, e_config->fullscreen_policy);
-		       bd->want_fullscreen = 0;
-		    }
 	       }
 	  }
      }
@@ -766,7 +750,6 @@
 	     else if ((bd->desk == desk) && (!bd->sticky))
 	       {
 		  e_border_fx_offset(bd, 0, 0);
-		  if (bd->fullscreen) bd->want_fullscreen = 1;
 		  e_border_hide(bd, 2);
 	       }
 	  }
Index: e_border.h
===================================================================
RCS file: /var/cvs/e/e17/apps/e/src/bin/e_border.h,v
retrieving revision 1.167
diff -u -r1.167 e_border.h
--- e_border.h	26 Nov 2007 21:33:23 -0000	1.167
+++ e_border.h	8 Dec 2007 18:04:45 -0000
@@ -352,7 +352,6 @@
    unsigned int    need_shape_export : 1;
    unsigned int    fullscreen : 1;
    unsigned int    need_fullscreen : 1;
-   unsigned int    want_fullscreen : 1;
    unsigned int    already_unparented : 1;
    unsigned int    need_reparent : 1;
    unsigned int    button_grabbed : 1;
Index: e_border.c
===================================================================
RCS file: /var/cvs/e/e17/apps/e/src/bin/e_border.c,v
retrieving revision 1.613
diff -u -r1.613 e_border.c
--- e_border.c	2 Dec 2007 20:03:29 -0000	1.613
+++ e_border.c	8 Dec 2007 18:04:55 -0000
@@ -718,8 +718,6 @@
    ecore_x_window_shadow_tree_flush();
    if (bd->moving)
      _e_border_move_end(bd);
-   if (bd->fullscreen)
-     e_border_unfullscreen(bd);
    if (bd->resize_mode != RESIZE_NONE)
      {
 	_e_border_pointer_resize_end(bd);
-------------------------------------------------------------------------
SF.Net email is sponsored by: 
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
_______________________________________________
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel

Reply via email to