]> Dogcows Code - chaz/openbox/blobdiff - tests/title.c
remove grab_pointer_window, nothing used it
[chaz/openbox] / tests / title.c
index 38c82a6903533015feaa6483b0838ab1beb0e27a..7c4f99bc631d1130c2cc3d0e8e6ef3696227e6e3 100644 (file)
@@ -16,6 +16,7 @@
    See the COPYING file for a copy of the GNU General Public License.
 */
 
+#include <string.h>
 #include <stdio.h>
 #include <X11/Xlib.h>
 #include <X11/Xutil.h>
@@ -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,
This page took 0.022348 seconds and 4 git commands to generate.