File: modifiers.h

package info (click to toggle)
fvwm 1:2.6.8-1
  • links: PTS
  • area: main
  • in suites: bullseye, buster, sid
  • size: 15,804 kB
  • sloc: ansic: 145,770; xml: 17,093; perl: 7,302; sh: 4,921; makefile: 1,094; yacc: 688; lex: 187; sed: 11
file content (28 lines) | stat: -rw-r--r-- 914 bytes parent folder | download | duplicates (9)
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
/* -*-c-*- */

#ifndef MODIFIERS_H
#define MODIFIERS_H

/* ---------------------------- included header files ---------------------- */

/* ---------------------------- global definitions ------------------------- */

#define ALL_MODIFIERS (ShiftMask|LockMask|ControlMask|Mod1Mask|Mod2Mask|\
	Mod3Mask|Mod4Mask|Mod5Mask)

/* ---------------------------- global macros ------------------------------ */

/* ---------------------------- type definitions --------------------------- */

/* ---------------------------- forward declarations ----------------------- */

/* ---------------------------- exported variables (globals) --------------- */

extern charmap_t key_modifiers[];
extern unsigned int modifier_mapindex_to_mask[];

/* ---------------------------- interface functions ------------------------ */

int modifiers_string_to_modmask(char *in_modifiers, int *out_modifier_mask);

#endif /* MODIFIERS_H */