X-Git-Url: https://git.danieliu.xyz/?a=blobdiff_plain;f=dwm.h;h=b2162c0a1c34bb8aff79b6ed5f23e74979af02c8;hb=141beb27041371672d54da7f541a3855fab0ac5b;hp=769d1b1ec42be0a956b138144d58d5a2a7f3ed46;hpb=70c7b432eabd01093daa22b72d3c472c84f9cbc9;p=dwm.git diff --git a/dwm.h b/dwm.h index 769d1b1..b2162c0 100644 --- a/dwm.h +++ b/dwm.h @@ -1,6 +1,4 @@ -/* © 2006-2007 Anselm R. Garbe - * © 2006-2007 Sander van Dijk - * See LICENSE file for license details. +/* See LICENSE file for copyright and license details. * * dynamic window manager is designed like any other X client as well. It is * driven through handling X events. In contrast to other X clients, a window @@ -100,8 +98,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,