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 */
|
||||
XRaiseWindow(dpy, alttabwin);
|
||||
drawtab(ntabs, 0, m);
|
||||
drawalttab(ntabs, 0, m);
|
||||
}
|
||||
|
||||
void
|
||||
@ -66,7 +66,7 @@ alttabend()
|
||||
}
|
||||
|
||||
void
|
||||
drawtab(int nwins, int first, Monitor *m)
|
||||
drawalttab(int nwins, int first, Monitor *m)
|
||||
{
|
||||
Client *c;
|
||||
int i, h;
|
||||
@ -178,7 +178,7 @@ alttabstart(const Arg *arg)
|
||||
i++;
|
||||
}
|
||||
|
||||
drawtab(ntabs, 1, m);
|
||||
drawalttab(ntabs, 1, m);
|
||||
|
||||
struct timespec ts = { .tv_sec = 0, .tv_nsec = 1000000 };
|
||||
|
||||
|
@ -1,5 +1,5 @@
|
||||
#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 alttabend();
|
||||
|
Loading…
x
Reference in New Issue
Block a user