summaryrefslogtreecommitdiff
path: root/debian/patches/10-wihack-manpage.patch
blob: 0542c2ecc56fdfe300687fb5150bb47e5a340631 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
Description: Add the manpage for wihack(1)
Author: Andrew O. Shadoura <bugzilla@tut.by>

--- /dev/null
+++ b/man/wihack.man1
@@ -0,0 +1,58 @@
+WIMENU
+wmii-@VERSION@
+May, 2010
+
+%!includeconf: header.t2t
+
+= NAME =
+
+wihack - The wmii window hack
+
+= SYNOPSIS =
+
+wihack [-transient <window>] [-type <ewmh window type>] [-tags <tags>] <program>
+
+= DESCRIPTION =
+
+`wihack` is a program which alters the windows created by an
+arbitrary program. It has the name `wihack` because it is just that:
+a hack. It uses LD_PRELOAD to override certain Xlib calls and add
+properties to newly created windows.
+
+= ARGUMENTS =
+
+: -transient <window>
+        Marks created windows as transient for a given <window>.
+        This causes the new window to open in the floating layer of
+        the same tags as <window>.
+: -type <ewmh window type>
+        Sets the EWMH window type of the created window to the type
+        given. `wmii` understands the following types:
+
+        >>
+        : dialog
+                Opens in the floating layer.
+        : dock
+        : menu
+        : toolbar
+                Automatically opens in the floating layer. Does not
+                have a window border or titlebar.
+        : splash
+                Automatically floats and does not automatically
+                receive focus.
+        <<
+: -tags <tags>
+        The created window opens on the given tags.
+:
+= BUGS =
+
+It is a hack.
+
+It doesn't work for setuid programs.
+
+It doesn't work for non-Xlib programs.
+
+= SEE ALSO =
+
+wmii(1)
+
--- a/man/Makefile
+++ b/man/Makefile
@@ -5,7 +5,8 @@
 TARG =	wmii.1	   \
 	wmiir.1	   \
 	wmii9menu.1\
-	wimenu.1
+	wimenu.1\
+	wihack.1
 
 $(TARG): Makefile $(ROOT)/mk/wmii.mk header.t2t