Xinqi Bao's Git
projects
/
dwm.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
raw
|
inline
| side by side
new colors
[dwm.git]
/
wm.h
diff --git
a/wm.h
b/wm.h
index
b647a3e
..
8f31f60
100644
(file)
--- a/
wm.h
+++ b/
wm.h
@@
-21,19
+21,16
@@
enum { NetSupported, NetWMName, NetLast };
/* cursor */
enum { CurNormal, CurResize, CurMove, CurInput, CurLast };
/* cursor */
enum { CurNormal, CurResize, CurMove, CurInput, CurLast };
-/* rects */
-enum { RFloat, RGrid, RLast };
-
struct Client {
struct Client {
- char name[256];
- char tag[256];
+ char name[256], tag[256];
int proto;
int proto;
- Bool fixedsize;
+ int x, y, w, h;
+ int tx, ty, tw, th;
+ int basew, baseh, incw, inch, maxw, maxh, minw, minh;
+ long flags;
Window win;
Window trans;
Window title;
Window win;
Window trans;
Window title;
- XSizeHints size;
- XRectangle r[RLast];
Client *next;
Client *snext;
};
Client *next;
Client *snext;
};
@@
-66,6
+63,7
@@
extern void draw_bar();
extern void run(void *aux);
extern void quit(void *aux);
extern void kill(void *aux);
extern void run(void *aux);
extern void quit(void *aux);
extern void kill(void *aux);
+extern void sel(void *aux);
/* client.c */
extern void manage(Window w, XWindowAttributes *wa);
/* client.c */
extern void manage(Window w, XWindowAttributes *wa);
@@
-75,6
+73,8
@@
extern void focus(Client *c);
extern void update_name(Client *c);
extern void draw_client(Client *c);
extern void resize(Client *c);
extern void update_name(Client *c);
extern void draw_client(Client *c);
extern void resize(Client *c);
+extern void update_size(Client *c);
+extern Client *gettitle(Window w);
/* event.c */
extern unsigned int discard_events(long even_mask);
/* event.c */
extern unsigned int discard_events(long even_mask);