Xinqi Bao's Git
projects
/
dwm.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
raw
|
inline
| side by side
applied Jukkas prev/next patch with XK_{h,l}
[dwm.git]
/
dwm.h
diff --git
a/dwm.h
b/dwm.h
index
d18ef20
..
0b6b21f
100644
(file)
--- a/
dwm.h
+++ b/
dwm.h
@@
-25,9
+25,12
@@
enum { Tfnord, Tdev, Tnet, Twork, Tmisc, TLast };
/* END CUSTOMIZE */
/* END CUSTOMIZE */
+/* mask shorthands, used in event.c and client.c */
+#define ButtonMask (ButtonPressMask | ButtonReleaseMask)
+#define MouseMask (ButtonMask | PointerMotionMask)
+
typedef union Arg Arg;
typedef struct Client Client;
typedef union Arg Arg;
typedef struct Client Client;
-typedef enum Corner Corner;
typedef struct DC DC;
typedef struct Fnt Fnt;
typedef struct DC DC;
typedef struct Fnt Fnt;
@@
-43,7
+46,8
@@
enum { WMProtocols, WMDelete, WMLast };
/* cursor */
enum { CurNormal, CurResize, CurMove, CurLast };
/* cursor */
enum { CurNormal, CurResize, CurMove, CurLast };
-enum Corner { TopLeft, TopRight, BotLeft, BotRight };
+/* windowcorners */
+typedef enum { TopLeft, TopRight, BotLeft, BotRight } Corner;
struct Fnt {
int ascent;
struct Fnt {
int ascent;
@@
-139,6
+143,8
@@
extern void replacetag(Arg *arg);
extern void settags(Client *c);
extern void togglemode(Arg *arg);
extern void view(Arg *arg);
extern void settags(Client *c);
extern void togglemode(Arg *arg);
extern void view(Arg *arg);
+extern void viewnext(Arg *arg);
+extern void viewprev(Arg *arg);
/* util.c */
extern void *emallocz(unsigned int size);
/* util.c */
extern void *emallocz(unsigned int size);