# This is a BitKeeper generated patch for the following project: # Project Name: Lightweight Window Manager # This patch format is intended for GNU patch command version 2.5 or higher. # This patch includes the following deltas: # ChangeSet 1.6 -> 1.7 # client.c 1.3 -> 1.4 # # The following is the BitKeeper ChangeSet Log # -------------------------------------------- # 02/02/11 jcopenha@marco.(none) 1.7 # changed the close square to a close X # -------------------------------------------- # diff -Nru a/client.c b/client.c --- a/client.c Mon Feb 11 14:52:12 2002 +++ b/client.c Mon Feb 11 14:52:12 2002 @@ -60,8 +60,15 @@ /* Draw the ``box''. */ if (active) { +#ifdef CLOSE_SQR XDrawRectangle(dpy, c->parent, c->screen->gc, quarter + 2, quarter, 2 * quarter, 2 * quarter); +#else + XDrawLine(dpy, c->parent, c->screen->gc, + quarter+2, quarter, (quarter+2)+(2*quarter), quarter+(2*quarter)); + XDrawLine(dpy, c->parent, c->screen->gc, + quarter+2, quarter+(2*quarter), (quarter+2)+(2*quarter), quarter); +#endif } /* Draw window title. */