diff --git a/src/ChangeLog b/src/ChangeLog index d58ba513..470af1b9 100644 --- a/src/ChangeLog +++ b/src/ChangeLog @@ -2269,3 +2269,11 @@ multiple desktops and via the titlebar or the menu, so group effects are limited to the current desktop for now. + +------------------------------------------------------------------------------- + +Thu Sep 23 14:40:50 PDT 1999 +(KainX) + +Woops. Width and height of 0 doesn't make for a happy pixmap. Let +E figure it out. This fixes Eterm's auto mode. diff --git a/src/ipc.c b/src/ipc.c index a13be301..074fe3b0 100644 --- a/src/ipc.c +++ b/src/ipc.c @@ -1474,7 +1474,7 @@ IPC_ImageClass(char *params, Client * c) { Window win; char *winptr, *hptr, state[20]; - int st, w = 0, h = 0; + int st, w = -1, h = -1; winptr = atword(params, 3); word(params, 4, state); @@ -1500,6 +1500,8 @@ IPC_ImageClass(char *params, Client * c) w = (int)strtol(atword(winptr, 2), (char **)NULL, 0); h = (int)strtol(hptr, (char **)NULL, 0); } + printf("IclassApply(0x%08x, 0x%08x, %d, %d, 0, 0, %d, 0);\n", + iclass, win, w, h, st); IclassApply(iclass, win, w, h, 0, 0, st, 0); } }