This website works better with JavaScript.
Home
Explore
Help
Sign In
tovi
/
dwm
Watch
1
Star
0
Fork
0
Code
Issues
0
Pull Requests
0
Projects
0
Releases
0
Wiki
Activity
Browse Source
applied sanders patch
master
Anselm R. Garbe
18 years ago
parent
924a088812
commit
1836b6740d
2 changed files
with
20 additions
and
11 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+12
-6
dwm.1
+8
-5
event.c
+ 12
- 6
dwm.1
View File
@ -47,16 +47,22 @@ and
.B floating
mode.
.TP
.B Button2
click on a tag label adds/removes that
.B tag
to/from the focused
.B window.
.TP
.B Button3
click on a tag label adds/removes all windows with that
.B tag
to/from the view.
.TP
.B Mod1-Button1
click on a tag label applies that
.B tag
to the focused
.BR window .
.TP
.B Mod1-Button3
click on a tag label adds/removes that
.B tag
to/from the focused
.BR window .
.SS Keyboard commands
.TP
.B Mod1-Shift-Return
+ 8
- 5
event.c
View File
@ -111,13 +111,16 @@ buttonpress(XEvent *e)
if
(
ev
-
>
x
<
x
)
{
switch
(
ev
-
>
button
)
{
case
Button1
:
view
(
&
a
)
;
break
;
case
Button2
:
toggletag
(
&
a
)
;
if
(
ev
-
>
state
&
MODKEY
)
tag
(
&
a
)
;
else
view
(
&
a
)
;
break
;
case
Button3
:
toggleview
(
&
a
)
;
if
(
ev
-
>
state
&
MODKEY
)
toggletag
(
&
a
)
;
else
toggleview
(
&
a
)
;
break
;
}
return
;
Write
Preview
Loading…
Cancel
Save