diff options
| author | bakkeby <[email protected]> | 2019-10-08 00:54:06 +0200 |
|---|---|---|
| committer | bakkeby <[email protected]> | 2019-10-08 00:54:06 +0200 |
| commit | 83242012da297c5afddb906d0879f92e3dffb1ab (patch) | |
| tree | c9a763a6b4d80ee6f5fc37bc98a910c1e6c8406b /patch | |
| parent | ca8638128f96f3309451577b600dc2840511ef97 (diff) | |
| download | dwm-flexipatch-83242012da297c5afddb906d0879f92e3dffb1ab.tar.gz dwm-flexipatch-83242012da297c5afddb906d0879f92e3dffb1ab.zip | |
Fixed minor cross-compatibility issues for combo, holdbar, leftlayout, hidevacanttags, taggrid and activetagindicatorbar
Diffstat (limited to 'patch')
| -rw-r--r-- | patch/combo.c | 2 | ||||
| -rw-r--r-- | patch/combo.h | 2 | ||||
| -rw-r--r-- | patch/holdbar.c | 3 |
3 files changed, 7 insertions, 0 deletions
diff --git a/patch/combo.c b/patch/combo.c index 3f13f16..7d1f3f2 100644 --- a/patch/combo.c +++ b/patch/combo.c @@ -1,10 +1,12 @@ static int combo = 0; +#if !HOLDBAR_PATCH void keyrelease(XEvent *e) { combo = 0; } +#endif // !HOLDBAR_PATCH void combotag(const Arg *arg) diff --git a/patch/combo.h b/patch/combo.h index d6d141e..08be95e 100644 --- a/patch/combo.h +++ b/patch/combo.h @@ -1,3 +1,5 @@ +#if !HOLDBAR_PATCH static void keyrelease(XEvent *e); +#endif // !HOLDBAR_PATCH static void combotag(const Arg *arg); static void comboview(const Arg *arg);
\ No newline at end of file diff --git a/patch/holdbar.c b/patch/holdbar.c index a7727b8..0ea1d41 100644 --- a/patch/holdbar.c +++ b/patch/holdbar.c @@ -15,6 +15,9 @@ keyrelease(XEvent *e) XMoveResizeWindow(dpy, selmon->barwin, selmon->wx, selmon->by, selmon->ww, bh); arrange(selmon); } + #if COMBO_PATCH + combo = 0; + #endif // COMBO_PATCH } void |
