X-Git-Url: https://git.dogcows.com/gitweb?a=blobdiff_plain;f=tests%2Ftitle.c;h=7c4f99bc631d1130c2cc3d0e8e6ef3696227e6e3;hb=4c672be2e1f39e72eb7d7e99f129e61338f481b2;hp=38c82a6903533015feaa6483b0838ab1beb0e27a;hpb=f532c9a1de209e8a1bd4ae2c116286b8216dcf52;p=chaz%2Fopenbox diff --git a/tests/title.c b/tests/title.c index 38c82a69..7c4f99bc 100644 --- a/tests/title.c +++ b/tests/title.c @@ -16,6 +16,7 @@ See the COPYING file for a copy of the GNU General Public License. */ +#include #include #include #include @@ -45,7 +46,7 @@ int main (int argc, char **argv) { if (argc > 3) nameenc = XInternAtom(display,argv[3],False); else - nameenc = XInternAtom(display,argv[3],False); + nameenc = XInternAtom(display,"STRING",False); win = XCreateWindow(display, RootWindow(display, 0), x, y, w, h, 10, CopyFromParent, CopyFromParent,