Here is yet another set of small patches for E16:
e16-ewmh-handle-vp-change.patch implements handling of _NET_DESKTOP_VIEWPORT client messages.
e16-move-iconfied-window.patch moves (unsticky) iconfied windows when the viewport is moved on a desktop (just like non-iconfied unsticky windows are). This enables external tasklist handlers to determine whether or not a window would appear on the current viewport if un-iconified, i.e., if it should appear in the list or not.
e16-ewmh-remove-btbhack.patch takes out some disabled test stuff that shouldn't have gone in in the first place.
I am having a lot of noise and trouble with the auto* stuff again. "gettextize -f" (output attached) removes and modifies things that are in CVS (e.g. intl/ and ABOUT-NLS). configure terminates with: config.status: creating intl/Makefile config.status: error: cannot find input file: intl/Makefile.in (Obviously - gettextize -f just wiped out intl/)
And thanks for accepting my stuff so far :-)
/Kim
diff -u -X excl-cvs.list -urN e16-cvs.org/e/src/ewmh.c e16/e/src/ewmh.c --- e16-cvs.org/e/src/ewmh.c 2003-03-29 08:10:39.000000000 +0100 +++ e16/e/src/ewmh.c 2003-03-30 17:58:24.000000000 +0200 @@ -692,6 +692,10 @@ { GotoDesktop(event->data.l[0]); } + else if (event->message_type == _NET_DESKTOP_VIEWPORT) + { + SetCurrentArea(event->data.l[0]/root.w, event->data.l[1]/root.h); + } /* * The ones that do target an application window
diff -u -X excl-cvs.list -urN e16-cvs.org/e/src/areas.c e16/e/src/areas.c --- e16-cvs.org/e/src/areas.c 2003-03-29 08:10:24.000000000 +0100 +++ e16/e/src/areas.c 2003-03-30 16:06:14.000000000 +0200 @@ -336,7 +336,7 @@ for (i = 0; i < num; i++) { if ((lst[i]->desktop == desks.current) && (!lst[i]->sticky) - && (!lst[i]->fixedpos) && (!lst[i]->iconified)) + && (!lst[i]->fixedpos)) { if (!lst[i]->floating) { @@ -375,7 +375,7 @@ for (i = 0; i < num; i++) { if ((lst[i]->desktop == desks.current) && (!lst[i]->sticky) - && (!lst[i]->fixedpos) && (!lst[i]->iconified)) + && (!lst[i]->fixedpos)) { /* if we're moving this window and its not opaque move */ /* warp it across withotu remebering the xy stuff */
diff -u -X excl-cvs.list -urN e16-cvs.org/e/src/ewmh.c e16/e/src/ewmh.c --- e16-cvs.org/e/src/ewmh.c 2003-03-29 08:10:39.000000000 +0100 +++ e16/e/src/ewmh.c 2003-03-30 18:04:10.000000000 +0200 @@ -25,8 +25,6 @@ */ #include "E.h" -#define CONFIG_EWMH_BROKEN_TASKBAR_HACK 0 - #if DEBUG_EWMH #undef EDBUG #define EDBUG(a,b) printf(b "\n") @@ -337,9 +335,6 @@ val[0] = ax * root.w; val[1] = ay * root.h; _ATOM_SET_CARD32(_NET_DESKTOP_VIEWPORT, root.win, val, 2); -#if CONFIG_EWMH_BROKEN_TASKBAR_HACK - EWMH_SetClientList(); -#endif EDBUG_RETURN_; } @@ -354,12 +349,6 @@ int i, j, k, nwin, num; EWin **lst; -#if CONFIG_EWMH_BROKEN_TASKBAR_HACK - int ax, ay; - - GetCurrentArea(&ax, &ay); -#endif - EDBUG(6, "EWMH_SetClientList"); /* Mapping order */ lst = (EWin **) ListItemType(&num, LIST_TYPE_EWIN); @@ -384,11 +373,6 @@ continue; if (ewin->iconified == 4) continue; -#if CONFIG_EWMH_BROKEN_TASKBAR_HACK - if (!(ewin->sticky || (desks.current == ewin->desktop && - ewin->area_x == ax && ewin->area_y == ay))) - continue; -#endif wl[nwin++] = ewin->client.win; } }
[EMAIL PROTECTED]:/mnt/src/Enlightenment/e16-cvs.org/e$ ./autogen.sh I am going to run ./configure with no arguments - if you wish to pass any to it, please specify them on the ./autogen.sh command line. Generating configuration files for Enlightenment, please wait.... gettextize -f Wiping out intl/ subdirectory Symlinking file ABOUT-NLS Symlinking file config.rpath Symlinking file mkinstalldirs Not copying intl/ directory. Symlinking file po/Makefile.in.in Symlinking file po/boldquot.sed Symlinking file po/[EMAIL PROTECTED] Symlinking file po/[EMAIL PROTECTED] Symlinking file po/insert-header.sin Symlinking file po/Makevars.template Symlinking file po/quot.sed Symlinking file po/remove-potcdate.sin Symlinking file po/Rules-quot Adding an entry to po/ChangeLog (backup is in po/ChangeLog~) Creating directory m4 Symlinking file m4/codeset.m4 Symlinking file m4/gettext.m4 Symlinking file m4/glibc21.m4 Symlinking file m4/iconv.m4 Symlinking file m4/intdiv0.m4 Symlinking file m4/inttypes.m4 Symlinking file m4/inttypes_h.m4 Symlinking file m4/inttypes-pri.m4 Symlinking file m4/isc-posix.m4 Symlinking file m4/lcmessage.m4 Symlinking file m4/lib-ld.m4 Symlinking file m4/lib-link.m4 Symlinking file m4/lib-prefix.m4 Symlinking file m4/progtest.m4 Symlinking file m4/stdint_h.m4 Symlinking file m4/uintmax_t.m4 Creating m4/Makefile.am Creating m4/ChangeLog Updating Makefile.am (backup is in Makefile.am~) Updating configure.in (backup is in configure.in~) Adding an entry to ChangeLog (backup is in ChangeLog~)
Please use AM_GNU_GETTEXT([external]) in order to cause autoconfiguration to look for an external libintl. Please create po/Makevars from the template in po/Makevars.template. You can then remove po/Makevars.template. Please run 'automake m4/Makefile' to create m4/Makefile.in Please run 'aclocal -I m4' to regenerate the aclocal.m4 file. You need aclocal from GNU automake 1.5 (or newer) to do this. Then run 'autoconf' to regenerate the configure file. Please remove intl/Makefile from the AC_OUTPUT or AC_CONFIG_FILES invocation in the configure.in file. Please change src/Makefile.am to use @LIBINTL@ instead of @[EMAIL PROTECTED] @INTLLIBS@ will go away. You will also need config.guess and config.sub, which you can get from ftp://ftp.gnu.org/pub/gnu/config/. You might also want to copy the convenience header file gettext.h from the /usr/share/gettext directory into your package. It is a wrapper around <libintl.h> that implements the configure --disable-nls option. Press Return to acknowledge the previous 8 paragraphs.