mirror of
https://github.com/mintycube/dwm.git
synced 2024-10-22 12:05:45 +00:00
tab + alttab compatibility fix (conflicting function name drawtab)
This commit is contained in:
parent
01244cc1b9
commit
5e85bc8b5c
@ -21,7 +21,7 @@ alttab()
|
|||||||
|
|
||||||
/* redraw tab */
|
/* redraw tab */
|
||||||
XRaiseWindow(dpy, alttabwin);
|
XRaiseWindow(dpy, alttabwin);
|
||||||
drawtab(ntabs, 0, m);
|
drawalttab(ntabs, 0, m);
|
||||||
}
|
}
|
||||||
|
|
||||||
void
|
void
|
||||||
@ -66,7 +66,7 @@ alttabend()
|
|||||||
}
|
}
|
||||||
|
|
||||||
void
|
void
|
||||||
drawtab(int nwins, int first, Monitor *m)
|
drawalttab(int nwins, int first, Monitor *m)
|
||||||
{
|
{
|
||||||
Client *c;
|
Client *c;
|
||||||
int i, h;
|
int i, h;
|
||||||
@ -178,7 +178,7 @@ alttabstart(const Arg *arg)
|
|||||||
i++;
|
i++;
|
||||||
}
|
}
|
||||||
|
|
||||||
drawtab(ntabs, 1, m);
|
drawalttab(ntabs, 1, m);
|
||||||
|
|
||||||
struct timespec ts = { .tv_sec = 0, .tv_nsec = 1000000 };
|
struct timespec ts = { .tv_sec = 0, .tv_nsec = 1000000 };
|
||||||
|
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
#include <time.h>
|
#include <time.h>
|
||||||
|
|
||||||
static void drawtab(int nwins, int first, Monitor *m);
|
static void drawalttab(int nwins, int first, Monitor *m);
|
||||||
static void alttabstart(const Arg *arg);
|
static void alttabstart(const Arg *arg);
|
||||||
static void alttabend();
|
static void alttabend();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user