summaryrefslogtreecommitdiff
path: root/tests/util/piglit-glx-util.h
diff options
context:
space:
mode:
authorEric Anholt <eric@anholt.net>2010-07-21 12:41:23 -0700
committerEric Anholt <eric@anholt.net>2010-07-21 12:42:37 -0700
commite7e9be5034f582992a5f2ec8df27f3915bdf4312 (patch)
tree5e57b03ba69e55906bcbd41f15e571e6f99f159c /tests/util/piglit-glx-util.h
parented6956d79091d1b124209c70008283d2973ea31a (diff)
framework: Set X11 window hint for "doesn't take input" when in auto mode.
This makes the hundreds of short-lived tests not steal input focus.
Diffstat (limited to 'tests/util/piglit-glx-util.h')
-rw-r--r--tests/util/piglit-glx-util.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/util/piglit-glx-util.h b/tests/util/piglit-glx-util.h
index d87891d92..2ad3b07ca 100644
--- a/tests/util/piglit-glx-util.h
+++ b/tests/util/piglit-glx-util.h
@@ -32,3 +32,4 @@ Window piglit_get_glx_window(Display *dpy, XVisualInfo *visinfo);
void piglit_require_glx_extension(Display *dpy, const char *name);
void piglit_glx_event_loop(Display *dpy,
enum piglit_result (*draw)(Display *dpy));
+void piglit_glx_set_no_input(void);