manio wrote:
3. "pin to desktop" is broken
sorry - i meant "Send to desktop" btw
so this is not a solution :(
someone have better?
well - i think i finally have it :)
i relied on ignore_first_unmap variable - which is 1 when e is restarting (btw this variable is set just before e_border_desk_set call) i tested it with many windows on many desks and screens, i also was sending window to different desks - all seems ok and working fine (after restarting e and during normal work with windows)

i hope that now the patch is ok for commit :)

regards,
--
manio
jabber/e-mail: ma...@skyboo.net
http://manio.skyboo.net
Index: e_border.c
===================================================================
--- e_border.c	(revision 41315)
+++ e_border.c	(working copy)
@@ -690,10 +690,13 @@
    e_object_ref(E_OBJECT(desk));
    ecore_event_add(E_EVENT_BORDER_DESK_SET, ev, _e_border_event_border_desk_set_free, NULL);
 
-   if ((bd->desk->visible) || (bd->sticky))
-     e_border_show(bd);
-   else
-     e_border_hide(bd, 1);
+   if (bd->ignore_first_unmap != 1)
+     {
+	if ((bd->desk->visible) || (bd->sticky))
+	  e_border_show(bd);
+	else
+	  e_border_hide(bd, 1);
+     }
 
    if (e_config->transient.desktop)
      {
------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel

Reply via email to