summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--dwm.148
-rw-r--r--dwm.c2
2 files changed, 24 insertions, 26 deletions
diff --git a/dwm.1 b/dwm.1
index d1dac59..a2d6767 100644
--- a/dwm.1
+++ b/dwm.1
@@ -9,7 +9,7 @@ dwm is a dynamic window manager for X. It manages windows in tiled, monocle
9and floating layouts. Either layout can be applied dynamically, optimising the 9and floating layouts. Either layout can be applied dynamically, optimising the
10environment for the application in use and the task performed. 10environment for the application in use and the task performed.
11.P 11.P
12In tiled layout windows are managed in a master and stacking area. The master 12In tiled layouts windows are managed in a master and stacking area. The master
13area contains the window which currently needs most attention, whereas the 13area contains the window which currently needs most attention, whereas the
14stacking area contains all other windows. In monocle layout all windows are 14stacking area contains all other windows. In monocle layout all windows are
15maximised to the screen size. In floating layout windows can be resized and 15maximised to the screen size. In floating layout windows can be resized and
@@ -57,23 +57,17 @@ click on a tag label adds/removes that tag to/from the focused window.
57Start 57Start
58.BR xterm. 58.BR xterm.
59.TP 59.TP
60.B Mod1\-Return
61Zooms/cycles current window to/from master area (tiled layout only).
62.TP
63.B Mod1\-Tab
64Toggles to the previously selected tags.
65.TP
66.B Mod1\-f 60.B Mod1\-f
67Apply floating layout. 61Applies floating layout.
68.TP 62.TP
69.B Mod1\-m 63.B Mod1\-m
70Apply monocle layout. 64Applies monocle layout.
71.TP 65.TP
72.B Mod1\-v 66.B Mod1\-v
73Apply vertical tiled layout. 67Applies vertical tiled layout.
74.TP 68.TP
75.B Mod1\-h 69.B Mod1\-h
76Apply horizontal tiled layout. 70Applies horizontal tiled layout.
77.TP 71.TP
78.B Mod1\-j 72.B Mod1\-j
79Focus next window. 73Focus next window.
@@ -81,27 +75,33 @@ Focus next window.
81.B Mod1\-k 75.B Mod1\-k
82Focus previous window. 76Focus previous window.
83.TP 77.TP
78.B Mod1\-Return
79Zooms/cycles focused window to/from master area (tiled layouts only).
80.TP
81.B Mod1\-Shift\-c
82Close focused window.
83.TP
84.B Mod1\-Shift\-space
85Toggle focused window between tiled and floating state.
86.TP
87.B Mod1\-Tab
88Toggles to the previously selected tags.
89.TP
84.B Mod1\-r 90.B Mod1\-r
85Re-applies tagging rules to all windows. 91Re-applies tagging rules to all windows.
86.TP 92.TP
87.B Mod1\-Shift\-[1..n] 93.B Mod1\-Shift\-[1..n]
88Apply 94Apply
89.RB nth 95.RB nth
90tag to current window. 96tag to focused window.
91.TP 97.TP
92.B Mod1\-Shift\-0 98.B Mod1\-Shift\-0
93Apply all tags to current window. 99Apply all tags to focused window.
94.TP 100.TP
95.B Mod1\-Control\-Shift\-[1..n] 101.B Mod1\-Control\-Shift\-[1..n]
96Add/remove 102Add/remove
97.B nth 103.B nth
98tag to/from current window. 104tag to/from focused window.
99.TP
100.B Mod1\-Shift\-c
101Close focused window.
102.TP
103.B Mod1\-Shift\-space
104Toggle focused window between tiled and floating state.
105.TP 105.TP
106.B Mod1\-[1..n] 106.B Mod1\-[1..n]
107View all windows with 107View all windows with
@@ -121,13 +121,13 @@ Quit dwm.
121.SS Mouse commands 121.SS Mouse commands
122.TP 122.TP
123.B Mod1\-Button1 123.B Mod1\-Button1
124Move current window while dragging. Tiled windows will be toggled to the floating state. 124Move focused window while dragging. Tiled windows will be toggled to the floating state.
125.TP 125.TP
126.B Mod1\-Button2 126.B Mod1\-Button2
127Zooms/cycles current window to/from master area. If it is floating (but not fixed) it will be toggled to the tiled state instead. 127Zooms/cycles focused window to/from master area. If it is floating (but not fixed) it will be toggled to the tiled state instead.
128.TP 128.TP
129.B Mod1\-Button3 129.B Mod1\-Button3
130Resize current window while dragging. Tiled windows will be toggled to the floating state. 130Resize focused window while dragging. Tiled windows will be toggled to the floating state.
131.SH CUSTOMIZATION 131.SH CUSTOMIZATION
132dwm is customized by creating a custom config.h and (re)compiling the source 132dwm is customized by creating a custom config.h and (re)compiling the source
133code. This keeps it fast, secure and simple. 133code. This keeps it fast, secure and simple.
@@ -148,7 +148,7 @@ can set the following environment variable (to use the older Motif
148backend instead): 148backend instead):
149.BR AWT_TOOLKIT=MToolkit . 149.BR AWT_TOOLKIT=MToolkit .
150.P 150.P
151Recent GTK 2.10.9+ versions contain a broken 151GTK 2.10.9+ versions contain a broken
152.BR Save\-As 152.BR Save\-As
153file dialog implementation, 153file dialog implementation,
154which requests to reconfigure its window size in an endless loop. However, its 154which requests to reconfigure its window size in an endless loop. However, its
diff --git a/dwm.c b/dwm.c
index 66cbcbd..f1d59f9 100644
--- a/dwm.c
+++ b/dwm.c
@@ -1491,8 +1491,6 @@ setup(void) {
1491 wa.background_pixmap = ParentRelative; 1491 wa.background_pixmap = ParentRelative;
1492 wa.event_mask = ButtonPressMask|ExposureMask; 1492 wa.event_mask = ButtonPressMask|ExposureMask;
1493 1493
1494
1495
1496 barwin = XCreateWindow(dpy, root, bx, by, bw, bh, 0, DefaultDepth(dpy, screen), 1494 barwin = XCreateWindow(dpy, root, bx, by, bw, bh, 0, DefaultDepth(dpy, screen),
1497 CopyFromParent, DefaultVisual(dpy, screen), 1495 CopyFromParent, DefaultVisual(dpy, screen),
1498 CWOverrideRedirect|CWBackPixmap|CWEventMask, &wa); 1496 CWOverrideRedirect|CWBackPixmap|CWEventMask, &wa);