|
@ -3,6 +3,7 @@ |
|
|
#include <regex.h> |
|
|
#include <regex.h> |
|
|
#include <stdio.h> |
|
|
#include <stdio.h> |
|
|
#include <stdlib.h> |
|
|
#include <stdlib.h> |
|
|
|
|
|
#include <string.h> |
|
|
#include <X11/Xutil.h> |
|
|
#include <X11/Xutil.h> |
|
|
|
|
|
|
|
|
/* static */ |
|
|
/* static */ |
|
@ -245,7 +246,7 @@ setlayout(const char *arg) { |
|
|
} |
|
|
} |
|
|
else { |
|
|
else { |
|
|
for(i = 0; i < nlayouts; i++) |
|
|
for(i = 0; i < nlayouts; i++) |
|
|
if(arg == layouts[i].symbol) |
|
|
|
|
|
|
|
|
if(!strcmp(arg, layouts[i].symbol)) |
|
|
break; |
|
|
break; |
|
|
if(i == nlayouts) |
|
|
if(i == nlayouts) |
|
|
return; |
|
|
return; |
|
|