2019-09-09 00:18:47 +02:00
|
|
|
/* Key binding functions */
|
|
|
|
static void defaultgaps(const Arg *arg);
|
|
|
|
static void incrgaps(const Arg *arg);
|
|
|
|
static void incrigaps(const Arg *arg);
|
|
|
|
static void incrogaps(const Arg *arg);
|
|
|
|
static void incrohgaps(const Arg *arg);
|
|
|
|
static void incrovgaps(const Arg *arg);
|
|
|
|
static void incrihgaps(const Arg *arg);
|
|
|
|
static void incrivgaps(const Arg *arg);
|
|
|
|
static void togglegaps(const Arg *arg);
|
|
|
|
|
|
|
|
/* Internals */
|
2020-03-27 20:46:54 +01:00
|
|
|
#if DRAGMFACT_PATCH || CENTEREDMASTER_LAYOUT || CENTEREDFLOATINGMASTER_LAYOUT || COLUMNS_LAYOUT || DECK_LAYOUT || FIBONACCI_DWINDLE_LAYOUT || FIBONACCI_SPIRAL_LAYOUT || GAPPLESSGRID_LAYOUT || NROWGRID_LAYOUT || HORIZGRID_LAYOUT || BSTACK_LAYOUT || BSTACKHORIZ_LAYOUT || GRIDMODE_LAYOUT || FLEXTILE_DELUXE_LAYOUT || TILE_LAYOUT || (VANITYGAPS_MONOCLE_PATCH && MONOCLE_LAYOUT)
|
2019-09-09 00:18:47 +02:00
|
|
|
static void getgaps(Monitor *m, int *oh, int *ov, int *ih, int *iv, unsigned int *nc);
|
2020-01-30 11:43:47 +01:00
|
|
|
#endif
|
2020-06-04 20:29:16 +02:00
|
|
|
static void setgaps(int oh, int ov, int ih, int iv);
|
|
|
|
#if DWMC_PATCH
|
|
|
|
static void setgapsex(const Arg *arg);
|
|
|
|
#endif // DWMC_PATCH
|