summaryrefslogtreecommitdiff
path: root/tabbed.c
diff options
context:
space:
mode:
authorEnno Boland (tox) <tox@s01.de>2009-09-07 22:21:27 +0200
committerEnno Boland (tox) <tox@s01.de>2009-09-07 22:21:27 +0200
commit6c5acb1b1e7759449e9663b50a659d9dbb2ebf50 (patch)
treee7b30ce3a0acdaa5711bca124e673e67ff40c13d /tabbed.c
parent6e9420683aec7f560ae596ce2aa560b61244a7f4 (diff)
adding killclient, removing wmhints
Diffstat (limited to 'tabbed.c')
-rw-r--r--tabbed.c12
1 files changed, 5 insertions, 7 deletions
diff --git a/tabbed.c b/tabbed.c
index 578b2a7..0d9792e 100644
--- a/tabbed.c
+++ b/tabbed.c
@@ -211,6 +211,11 @@ keypress(XEvent *e) {
}
void
+killclient(Arg *arg) {
+ puts("close a window");
+}
+
+void
move(const Arg *arg) {
puts("move to nth tab");
}
@@ -239,8 +244,6 @@ run(void) {
void
setup(void) {
- XWMHints *wmh;
-
/* init screen */
screen = DefaultScreen(dpy);
root = RootWindow(dpy, screen);
@@ -264,11 +267,6 @@ setup(void) {
XSelectInput(dpy, win, StructureNotifyMask|PointerMotionMask|
ButtonPressMask|ExposureMask|KeyPressMask|
LeaveWindowMask);
- wmh = XAllocWMHints();
- wmh->input = False;
- wmh->flags = InputHint;
- XSetWMHints(dpy, win, wmh);
- XFree(wmh);
XMapRaised(dpy, win);
}