When debugging on an X11 desktop and doing repeated runs, it's
unpleasant to have input focus stolen by a series of transient windows
being created.
Components: Framework
Affects: *
VK-GL-CTS issue: 1282
Change-Id: I7bc8e9587e71ac9ebfab726c3926c432b2f04f01
depth, InputOutput, visual, mask, &swa);
TCU_CHECK(m_window);
+ /* Prevent the window from stealing input, since our windows are
+ * non-interactive.
+ */
+ XWMHints *hints = XAllocWMHints();
+ hints->flags |= InputHint;
+ hints->input = False;
+ XSetWMHints(dpy, m_window, hints);
+ XFree(hints);
+
Atom deleteAtom = m_display.getDeleteAtom();
XSetWMProtocols(dpy, m_window, &deleteAtom, 1);
XSync(dpy,false);