dwmc: Adding external control to set gaps

This commit is contained in:
bakkeby
2020-06-04 20:29:16 +02:00
parent 2b332f7199
commit d7814e3a3e
4 changed files with 84 additions and 4 deletions

View File

@ -13,4 +13,7 @@ static void togglegaps(const Arg *arg);
#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)
static void getgaps(Monitor *m, int *oh, int *ov, int *ih, int *iv, unsigned int *nc);
#endif
static void setgaps(int oh, int ov, int ih, int iv);
static void setgaps(int oh, int ov, int ih, int iv);
#if DWMC_PATCH
static void setgapsex(const Arg *arg);
#endif // DWMC_PATCH