Mercurial > dwm-meillo
comparison dwm.h @ 708:a2d568a5cdb8
applied Sanders all5.patch (thanks for your weekend session, Sander!)
author | Anselm R. Garbe <arg@suckless.org> |
---|---|
date | Mon, 22 Jan 2007 10:22:58 +0100 |
parents | f05c825db96b |
children | 7034ee0f48d6 |
comparison
equal
deleted
inserted
replaced
707:c3c57faef013 | 708:a2d568a5cdb8 |
---|---|
41 | 41 |
42 enum { NetSupported, NetWMName, NetLast }; /* EWMH atoms */ | 42 enum { NetSupported, NetWMName, NetLast }; /* EWMH atoms */ |
43 enum { WMProtocols, WMDelete, WMLast }; /* default atoms */ | 43 enum { WMProtocols, WMDelete, WMLast }; /* default atoms */ |
44 enum { CurNormal, CurResize, CurMove, CurLast }; /* cursor */ | 44 enum { CurNormal, CurResize, CurMove, CurLast }; /* cursor */ |
45 enum { ColBorder, ColFG, ColBG, ColLast }; /* color */ | 45 enum { ColBorder, ColFG, ColBG, ColLast }; /* color */ |
46 | |
47 typedef enum { | |
48 TopLeft, TopRight, BotLeft, BotRight | |
49 } Corner; /* window corners */ | |
50 | 46 |
51 typedef union { | 47 typedef union { |
52 const char *cmd; | 48 const char *cmd; |
53 int i; | 49 int i; |
54 } Arg; /* argument type */ | 50 } Arg; /* argument type */ |
108 extern void configure(Client *c); /* send synthetic configure event */ | 104 extern void configure(Client *c); /* send synthetic configure event */ |
109 extern void focus(Client *c); /* focus c, c may be NULL */ | 105 extern void focus(Client *c); /* focus c, c may be NULL */ |
110 extern Client *getclient(Window w); /* return client of w */ | 106 extern Client *getclient(Window w); /* return client of w */ |
111 extern void killclient(Arg *arg); /* kill c nicely */ | 107 extern void killclient(Arg *arg); /* kill c nicely */ |
112 extern void manage(Window w, XWindowAttributes *wa); /* manage new client */ | 108 extern void manage(Window w, XWindowAttributes *wa); /* manage new client */ |
113 extern void resize(Client *c, Bool sizehints, Corner sticky); /* resize c*/ | 109 extern void resize(Client *c, Bool sizehints); /* resize c*/ |
114 extern void updatesizehints(Client *c); /* update the size hint variables of c */ | 110 extern void updatesizehints(Client *c); /* update the size hint variables of c */ |
115 extern void updatetitle(Client *c); /* update the name of c */ | 111 extern void updatetitle(Client *c); /* update the name of c */ |
116 extern void unmanage(Client *c); /* destroy c */ | 112 extern void unmanage(Client *c); /* destroy c */ |
117 | 113 |
118 /* draw.c */ | 114 /* draw.c */ |