Fixed minor cross-compatibility issues for combo, holdbar, leftlayout, hidevacanttags, taggrid and activetagindicatorbar

This commit is contained in:
bakkeby
2019-10-08 00:54:06 +02:00
parent ca8638128f
commit 83242012da
6 changed files with 98 additions and 7 deletions

View File

@@ -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)

View File

@@ -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);

View File

@@ -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