comment client.h
This commit is contained in:
parent
19d5ff9094
commit
834a579587
16
client.h
16
client.h
|
@ -22,17 +22,20 @@
|
|||
#ifndef AWESOME_CLIENT_H
|
||||
#define AWESOME_CLIENT_H
|
||||
|
||||
/* mask shorthands, used in event.c and client.c */
|
||||
#define BUTTONMASK (ButtonPressMask | ButtonReleaseMask)
|
||||
|
||||
#include "config.h"
|
||||
|
||||
/** Mask shorthands, used in event.c and client.c */
|
||||
#define BUTTONMASK (ButtonPressMask | ButtonReleaseMask)
|
||||
|
||||
typedef struct Client Client;
|
||||
struct Client
|
||||
{
|
||||
/** Client name */
|
||||
char name[256];
|
||||
/** Window geometry */
|
||||
int x, y, w, h;
|
||||
int rx, ry, rw, rh; /* revert geometry */
|
||||
/** Real window geometry for floating */
|
||||
int rx, ry, rw, rh;
|
||||
int basew, baseh, incw, inch, maxw, maxh, minw, minh;
|
||||
int minax, maxax, minay, maxay;
|
||||
int unmapped;
|
||||
|
@ -44,9 +47,12 @@ struct Client
|
|||
Client *prev;
|
||||
Client *snext;
|
||||
Window win;
|
||||
/** Client display */
|
||||
Display * display;
|
||||
/** Client screen */
|
||||
int screen;
|
||||
Bool ftview; /* first time viewed on new layout */
|
||||
/** First time viewed on new layout */
|
||||
Bool ftview;
|
||||
};
|
||||
|
||||
void attach(Client *); /* attaches c to global client list */
|
||||
|
|
Loading…
Reference in New Issue