Xinqi Bao's Git
projects
/
dwm.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
raw
|
inline
| side by side
fixing the settags issue, preparing 1.7.1
[dwm.git]
/
main.c
diff --git
a/main.c
b/main.c
index
c6e67e9
..
7cd3a32
100644
(file)
--- a/
main.c
+++ b/
main.c
@@
-24,7
+24,6
@@
unsigned int ntags, numlockmask;
Atom wmatom[WMLast], netatom[NetLast];
Bool running = True;
Bool issel = True;
Atom wmatom[WMLast], netatom[NetLast];
Bool running = True;
Bool issel = True;
-Bool maximized = False;
Client *clients = NULL;
Client *sel = NULL;
Client *stack = NULL;
Client *clients = NULL;
Client *sel = NULL;
Client *stack = NULL;
@@
-39,7
+38,7
@@
static int (*xerrorxlib)(Display *, XErrorEvent *);
static Bool otherwm, readin;
static void
static Bool otherwm, readin;
static void
-cleanup() {
+cleanup(
void
) {
close(STDIN_FILENO);
while(sel) {
resize(sel, True, TopLeft);
close(STDIN_FILENO);
while(sel) {
resize(sel, True, TopLeft);
@@
-59,7
+58,7
@@
cleanup() {
}
static void
}
static void
-scan() {
+scan(
void
) {
unsigned int i, num;
Window *wins, d1, d2;
XWindowAttributes wa;
unsigned int i, num;
Window *wins, d1, d2;
XWindowAttributes wa;
@@
-80,7
+79,7
@@
scan() {
}
static void
}
static void
-setup() {
+setup(
void
) {
int i, j;
unsigned int mask;
Window w;
int i, j;
unsigned int mask;
Window w;