X-Git-Url: https://git.xinqibao.xyz/dwm.git/blobdiff_plain/70c7b432eabd01093daa22b72d3c472c84f9cbc9..e1deda9e040c052af62aecc2fb4ee770fb2496a2:/dwm.h?ds=inline diff --git a/dwm.h b/dwm.h index 769d1b1..64ed4c7 100644 --- a/dwm.h +++ b/dwm.h @@ -1,5 +1,6 @@ /* © 2006-2007 Anselm R. Garbe * © 2006-2007 Sander van Dijk + * © 2007 Premysl Hruby * See LICENSE file for license details. * * dynamic window manager is designed like any other X client as well. It is @@ -100,8 +101,7 @@ Window root, barwin; void attach(Client *c); /* attaches c to global client list */ void configure(Client *c); /* send synthetic configure event */ void detach(Client *c); /* detaches c from global client list */ -void focus(Client *c); /* focus c, c may be NULL */ -void focustopvisible(void); /* focus top visible window on stack */ +void focus(Client *c); /* focus c if visible && !NULL, or focus top visible */ void killclient(const char *arg); /* kill sel nicely */ void manage(Window w, XWindowAttributes *wa); /* manage new client */ void resize(Client *c, int x, int y,