diff --git a/wmfs.c b/wmfs.c index 2dc60e7..09e25bd 100644 --- a/wmfs.c +++ b/wmfs.c @@ -553,7 +553,6 @@ manage(Window w, XWindowAttributes *wa) Window trans; Status rettrans; XWindowChanges winc; - XSetWindowAttributes at; c = emalloc(sizeof(Client)); c->win = w; @@ -563,10 +562,6 @@ manage(Window w, XWindowAttributes *wa) c->h = wa->height; c->tag = seltag; - at.override_redirect = 1; - at.background_pixmap = ParentRelative; - at.event_mask = ButtonPressMask | ExposureMask; - /* Create titlebar & button */ if(conf.ttbarheight) { @@ -1434,7 +1429,7 @@ main(int argc,char **argv) scan(); mainloop(); - /* Exiting WMFS :'( */ + /* Exiting WMFS :'( */ XFreeFont(dpy, font); XUngrabKey(dpy, AnyKey, AnyModifier, root); XFreeCursor(dpy, cursor[CurNormal]); diff --git a/wmfs.h b/wmfs.h index a77c4dc..eb8f573 100644 --- a/wmfs.h +++ b/wmfs.h @@ -68,7 +68,7 @@ #define BUTH conf.ttbarheight - 6 #define BUTX(x, w) x + w - BUTH/400 #define TEXTW(x) XTextWidth(font, x, strlen(x)) + (fonth / 10) -#define MAXLAYOUT 3 +#define MAXLAYOUT 3 /* Client Structure */ typedef struct Client Client;