summaryrefslogtreecommitdiff
path: root/src/wm-tester/focus-window.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/wm-tester/focus-window.c')
-rw-r--r--src/wm-tester/focus-window.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/wm-tester/focus-window.c b/src/wm-tester/focus-window.c
index dc33bd25..01cb4d3e 100644
--- a/src/wm-tester/focus-window.c
+++ b/src/wm-tester/focus-window.c
@@ -9,18 +9,18 @@ int main (int argc, char **argv)
Window w;
const char *w_str;
char *end;
-
+
if (argc != 2)
{
fprintf (stderr, "Usage: focus-window WINDOWID\n");
exit (1);
}
-
+
d = XOpenDisplay (NULL);
w_str = argv[1];
end = NULL;
-
+
w = strtoul (w_str, &end, 16);
if (end == w_str)
{
@@ -31,7 +31,7 @@ int main (int argc, char **argv)
printf ("Setting input focus to 0x%lx\n", w);
XSetInputFocus (d, w, RevertToPointerRoot, CurrentTime);
XFlush (d);
-
+
return 0;
}