mirror of
https://github.com/leahneukirchen/cwm.git
synced 2023-08-10 21:13:12 +03:00
Support mod4 (windows key) in mouse bindings too.
This commit is contained in:
parent
05b17bf803
commit
a6ec6cd9e9
4
conf.c
4
conf.c
@ -434,6 +434,10 @@ conf_mousebind(struct conf *c, char *name, char *binding)
|
||||
strchr(name, 'S') < strchr(name, '-'))
|
||||
current_binding->modmask |= ShiftMask;
|
||||
|
||||
if (strchr(name, '4') != NULL &&
|
||||
strchr(name, '4') < strchr(name, '-'))
|
||||
current_binding->modmask |= Mod4Mask;
|
||||
|
||||
substring = strchr(name, '-') + 1;
|
||||
|
||||
if (strchr(name, '-') == NULL)
|
||||
|
4
cwmrc.5
4
cwmrc.5
@ -15,7 +15,7 @@
|
||||
.\" OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
|
||||
.\"
|
||||
.\" The following requests are required for all man pages.
|
||||
.Dd $Mdocdate: June 17 2008 $
|
||||
.Dd $Mdocdate: June 25 2008 $
|
||||
.Dt CWMRC 5
|
||||
.Os
|
||||
.Sh NAME
|
||||
@ -141,6 +141,8 @@ The Control key.
|
||||
The Meta key.
|
||||
.It S
|
||||
The Shift key.
|
||||
.It 4
|
||||
The Mod4 key (normally the windows key).
|
||||
.El
|
||||
.Pp
|
||||
The
|
||||
|
Loading…
Reference in New Issue
Block a user