diff options
Diffstat (limited to 'dwm.c')
| -rw-r--r-- | dwm.c | 11 |
1 files changed, 11 insertions, 0 deletions
@@ -267,6 +267,8 @@ static void updatestatus(void); static void updatetitle(Client *c); static void updatewindowtype(Client *c); static void updatewmhints(Client *c); + +static void t0_view(const Arg *arg); static void view(const Arg *arg); static void view_t0(const Arg *arg); static Client *wintoclient(Window w); @@ -2441,6 +2443,15 @@ updatewmhints(Client *c) } } + +void +t0_view(const Arg *arg) +{ + if (selmon->pertag->curtag == 0) { + view(arg); + } +} + void view(const Arg *arg) { |