Compare commits
2 Commits
Author | SHA1 | Date | |
---|---|---|---|
a92cf496c1 | |||
cc7970010b |
1
.hgtags
1
.hgtags
@ -46,3 +46,4 @@ baee494346e520f8dee2cee9491b8350064770d2 3.7
|
|||||||
00f4180df72b49aadb2933804fde4bfb33e5666d 4.1
|
00f4180df72b49aadb2933804fde4bfb33e5666d 4.1
|
||||||
c13cb8c6b7a56af74cc88346e71d2490470b546f 4.2
|
c13cb8c6b7a56af74cc88346e71d2490470b546f 4.2
|
||||||
e0ec0d5d8b1ef3ee04a83c7c0fee5853aa2ac6a6 4.3
|
e0ec0d5d8b1ef3ee04a83c7c0fee5853aa2ac6a6 4.3
|
||||||
|
408014d2126153d2b0fce26a13ba707db222b7b9 4.4
|
||||||
|
1
client.c
1
client.c
@ -229,6 +229,7 @@ manage(Window w, XWindowAttributes *wa) {
|
|||||||
XMoveResizeWindow(dpy, c->win, c->x, c->y, c->w, c->h); /* some windows require this */
|
XMoveResizeWindow(dpy, c->win, c->x, c->y, c->w, c->h); /* some windows require this */
|
||||||
ban(c);
|
ban(c);
|
||||||
XMapWindow(dpy, c->win);
|
XMapWindow(dpy, c->win);
|
||||||
|
setclientstate(c, NormalState);
|
||||||
arrange();
|
arrange();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
# dwm version
|
# dwm version
|
||||||
VERSION = 4.4
|
VERSION = 4.4.1
|
||||||
|
|
||||||
# Customize below to fit your system
|
# Customize below to fit your system
|
||||||
|
|
||||||
|
2
dwm.1
2
dwm.1
@ -97,7 +97,7 @@ Close focused window.
|
|||||||
Toggle between tiled and floating layout (affects all windows).
|
Toggle between tiled and floating layout (affects all windows).
|
||||||
.TP
|
.TP
|
||||||
.B Mod1\-Shift\-space
|
.B Mod1\-Shift\-space
|
||||||
Toggle focused window between tiled and floating state (tiled layout only).
|
Toggle focused window between tiled and floating state.
|
||||||
.TP
|
.TP
|
||||||
.B Mod1\-[1..n]
|
.B Mod1\-[1..n]
|
||||||
View all windows with
|
View all windows with
|
||||||
|
2
screen.c
2
screen.c
@ -284,7 +284,7 @@ togglebar(const char *arg) {
|
|||||||
|
|
||||||
void
|
void
|
||||||
togglefloating(const char *arg) {
|
togglefloating(const char *arg) {
|
||||||
if(!sel || isfloating())
|
if(!sel)
|
||||||
return;
|
return;
|
||||||
sel->isfloating = !sel->isfloating;
|
sel->isfloating = !sel->isfloating;
|
||||||
if(sel->isfloating)
|
if(sel->isfloating)
|
||||||
|
3
tile.c
3
tile.c
@ -46,7 +46,7 @@ tile(void) {
|
|||||||
|
|
||||||
nx = wax;
|
nx = wax;
|
||||||
ny = way;
|
ny = way;
|
||||||
for(i = 0, c = nexttiled(clients); c; c = nexttiled(c->next)) {
|
for(i = 0, c = nexttiled(clients); c; c = nexttiled(c->next), i++) {
|
||||||
c->ismax = False;
|
c->ismax = False;
|
||||||
if(i == 0) { /* master */
|
if(i == 0) { /* master */
|
||||||
nw = mw - 2 * c->border;
|
nw = mw - 2 * c->border;
|
||||||
@ -66,7 +66,6 @@ tile(void) {
|
|||||||
resize(c, nx, ny, nw, nh, False);
|
resize(c, nx, ny, nw, nh, False);
|
||||||
if(n > 1 && th != wah)
|
if(n > 1 && th != wah)
|
||||||
ny += nh + 2 * c->border;
|
ny += nh + 2 * c->border;
|
||||||
i++;
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user