xserver-multidpi/hw
Jon TURNEY b634e90989 hw/xwin: More closely follow ICCCM for setting input focus
In multiwindow mode, more closely follow ICCCM section 4.1.7 when setting X
input focus to a window when the native Windows window acquires input focus:

- If InputHint is FALSE, don't use XSetInputFocus()
- If the window supports the WM_TAKE_FOCUS protocol, send a WM_TAKE_FOCUS message

This helps JDK 1.7 clients acquire the focus correctly.

Also, factor out checking client support for a given WM_PROTOCOLS protocol as a
separate function.

Signed-off-by: Jon TURNEY <jon.turney@dronecode.org.uk>
Reviewed-by: Colin Harrison <colin.harrison@virgin.net>
2014-03-03 14:33:09 +00:00
..
dmx Replace 'pointer' type with 'void *' 2014-01-12 10:24:11 -08:00
kdrive ephyr: Repaint entire screen when colormap is updated 2014-02-07 16:34:18 -08:00
vfb hw/vfb: Rename screenInfo parameter to screen_info 2014-01-22 19:56:32 -08:00
xfree86 Merge remote-tracking branch 'whot/for-keith' 2014-02-09 16:05:42 -08:00
xnest hw/xnest: Eliminate shadowed names 2014-01-22 19:56:32 -08:00
xquartz XQuartz: pointer -> void * 2014-02-14 00:33:38 -08:00
xwin hw/xwin: More closely follow ICCCM for setting input focus 2014-03-03 14:33:09 +00:00
Makefile.am Catch errors in recursive relink targets 2010-03-22 00:45:57 -05:00