Enlightenment CVS committal Author : morlenxus Project : e_modules Module : tiling
Dir : e_modules/tiling Modified Files: e_mod_main.c trivials.c Log Message: fix was missing... =================================================================== RCS file: /cvs/e/e_modules/tiling/e_mod_main.c,v retrieving revision 1.1 retrieving revision 1.2 diff -u -3 -r1.1 -r1.2 --- e_mod_main.c 5 Jun 2008 10:55:51 -0000 1.1 +++ e_mod_main.c 5 Jun 2008 12:12:29 -0000 1.2 @@ -36,6 +36,7 @@ *act_moveright = NULL, *act_movetop = NULL, *act_movebottom = NULL; +static int currently_switching_desktop = 0; /* This hash holds the Tiling_Info-pointers for each desktop */ static Evas_Hash *info_hash = NULL; @@ -785,6 +786,9 @@ DBG("hide-hook\n"); E_Event_Border_Hide *ev = event; rearrange_windows(ev->border, 1); + + if (currently_switching_desktop) return; + /* Ensure that the border is deleted from all available desks */ static Tiling_Info *_tinfo = NULL; Evas_List *l, *ll, *lll, *llll; @@ -814,6 +818,7 @@ { E_Event_Desk_Show *ev = event; _desk_show(ev->desk); + currently_switching_desktop = 0; } static int @@ -821,6 +826,7 @@ { E_Event_Desk_Before_Show *ev = event; _desk_before_show(ev->desk); + currently_switching_desktop = 1; } static Evas_Bool =================================================================== RCS file: /cvs/e/e_modules/tiling/trivials.c,v retrieving revision 1.1 retrieving revision 1.2 diff -u -3 -r1.1 -r1.2 --- trivials.c 5 Jun 2008 10:55:51 -0000 1.1 +++ trivials.c 5 Jun 2008 12:12:29 -0000 1.2 @@ -5,6 +5,8 @@ #include "trivials.h" #include <stdarg.h> +#define DEBUG + void change_window_border(E_Border *bd, char *bordername) { ------------------------------------------------------------------------- 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-cvs mailing list enlightenment-cvs@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs