diff options
| author | bakkeby <[email protected]> | 2020-01-30 09:47:26 +0100 |
|---|---|---|
| committer | bakkeby <[email protected]> | 2020-01-30 09:47:26 +0100 |
| commit | 4405df28bd96c86f9a80bbe071297fb2e0cd4729 (patch) | |
| tree | beac983477e3f3d27d36116672199f4495f224d4 /patch/vanitygaps.c | |
| parent | 8f53248a0fecb8dab629386f11d92261594dc8ce (diff) | |
| download | dwm-flexipatch-4405df28bd96c86f9a80bbe071297fb2e0cd4729.tar.gz dwm-flexipatch-4405df28bd96c86f9a80bbe071297fb2e0cd4729.zip | |
Fix for undefined reference to getgaps when using only centeredmaster layout
Diffstat (limited to 'patch/vanitygaps.c')
| -rw-r--r-- | patch/vanitygaps.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/patch/vanitygaps.c b/patch/vanitygaps.c index e39a3f2..43a4b3f 100644 --- a/patch/vanitygaps.c +++ b/patch/vanitygaps.c @@ -106,7 +106,7 @@ incrivgaps(const Arg *arg) ); } -#if CENTEREDFLOATINGMASTER_LAYOUT || COLUMNS_LAYOUT || DECK_LAYOUT || FIBONACCI_DWINDLE_LAYOUT || FIBONACCI_SPIRAL_LAYOUT || GAPPLESSGRID_LAYOUT || HORIZGRID_LAYOUT || BSTACK_LAYOUT || BSTACKHORIZ_LAYOUT || GRIDMODE_LAYOUT || FLEXTILE_DELUXE_LAYOUT || TILE_LAYOUT +#if CENTEREDMASTER_LAYOUT || CENTEREDFLOATINGMASTER_LAYOUT || COLUMNS_LAYOUT || DECK_LAYOUT || FIBONACCI_DWINDLE_LAYOUT || FIBONACCI_SPIRAL_LAYOUT || GAPPLESSGRID_LAYOUT || HORIZGRID_LAYOUT || BSTACK_LAYOUT || BSTACKHORIZ_LAYOUT || GRIDMODE_LAYOUT || FLEXTILE_DELUXE_LAYOUT || TILE_LAYOUT static void getgaps(Monitor *m, int *oh, int *ov, int *ih, int *iv, unsigned int *nc) { @@ -124,4 +124,4 @@ getgaps(Monitor *m, int *oh, int *ov, int *ih, int *iv, unsigned int *nc) *iv = m->gappiv*ie; // inner vertical gap *nc = n; // number of clients } -#endif // CENTEREDFLOATINGMASTER_LAYOUT || DECK_LAYOUT || FIBONACCI_DWINDLE_LAYOUT || FIBONACCI_SPIRAL_LAYOUT || GAPPLESSGRID_LAYOUT || HORIZGRID_LAYOUT || BSTACK_LAYOUT || BSTACKHORIZ_LAYOUT || GRIDMODE_LAYOUT || FLEXTILE_DELUXE_LAYOUT || TILE_LAYOUT
\ No newline at end of file +#endif // CENTEREDMASTER_LAYOUT || CENTEREDFLOATINGMASTER_LAYOUT || DECK_LAYOUT || FIBONACCI_DWINDLE_LAYOUT || FIBONACCI_SPIRAL_LAYOUT || GAPPLESSGRID_LAYOUT || HORIZGRID_LAYOUT || BSTACK_LAYOUT || BSTACKHORIZ_LAYOUT || GRIDMODE_LAYOUT || FLEXTILE_DELUXE_LAYOUT || TILE_LAYOUT
\ No newline at end of file |
