Enlightenment CVS committal
Author : sebastid
Project : e17
Module : apps/e
Dir : e17/apps/e/src/bin
Modified Files:
e_hints.c
Log Message:
Update.
===================================================================
RCS file: /cvsroot/enlightenment/e17/apps/e/src/bin/e_hints.c,v
retrieving revision 1.37
retrieving revision 1.38
diff -u -3 -r1.37 -r1.38
--- e_hints.c 29 May 2005 10:08:25 -0000 1.37
+++ e_hints.c 29 May 2005 11:06:11 -0000 1.38
@@ -321,7 +321,7 @@
void
e_hints_window_init(E_Border *bd)
{
- /* FIXME: only call from border_eval() if fetch flag set */
+ /* Don't need fetch flag, is onlt called from new border */
e_hints_window_state_get(bd);
e_hints_window_type_get(bd);
@@ -346,6 +346,8 @@
bd->layer = 100;
e_border_raise(bd);
+#if 0
+ /* Ignore this, E has incompatible desktop setup */
if (ecore_x_netwm_desktop_get(bd->client.win, &bd->client.netwm.desktop))
{
if (bd->client.netwm.desktop == 0xffffffff)
@@ -372,15 +374,15 @@
/* Update netwm desktop with current desktop */
e_hints_window_desktop_set(bd);
}
+#endif
+ /* It's ok not to have fetch flag, should only be set on startup
+ * and not changed. */
if (!ecore_x_netwm_pid_get(bd->client.win, &bd->client.netwm.pid))
bd->client.netwm.pid = -1;
if (bd->client.netwm.state.sticky)
- {
-// printf("CLIENT asks for stickiness!\n");
- e_border_stick(bd);
- }
+ e_border_stick(bd);
if (bd->client.netwm.state.shaded)
e_border_shade(bd, e_hints_window_shade_direction_get(bd));
if (bd->client.netwm.state.maximized_v &&
bd->client.netwm.state.maximized_h)
@@ -447,7 +449,7 @@
void e_hints_window_type_get(E_Border *bd)
{
- /* FIXME: only call from border_eval() if fetch flag set */
+ /* Don't need fetch flag, only called on new border */
bd->client.netwm.type = ecore_x_netwm_window_type_get(bd->client.win);
}
-------------------------------------------------------
This SF.Net email is sponsored by Yahoo.
Introducing Yahoo! Search Developer Network - Create apps using Yahoo!
Search APIs Find out how you can build Yahoo! directly into your own
Applications - visit http://developer.yahoo.net/?fr=offad-ysdn-ostg-q22005
_______________________________________________
enlightenment-cvs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs