xserver-multidpi/hw
Oliver Schmidt 3b4d472b72 hw/xwin: Minimize redraw events after resizing/moving windows in multiwindow mode
In multiwindow mode the modal moving/resizing of windows causes a lot of redraw
events to be sent to the X clients after the user releases the mouse button.
During the moving/resizing client windows are not redrawn as long as the mouse
button is pressed, but all redraw/resizing events are queued and executed step
after step after the moving/resizing ends.

Some clients collect and combine multiple redraw or resizing events, other
clients (e.g. xterm) simply execute each redraw or sizing event.

The enclosed patch minimizes the events for clients to only one event after the
user releases the mouse button to end the moving/resizing. This improves the
user experience and reduces strange screen flickerings, especially on slow
platforms.

The enclosed patch modifies winmultiwindowwndproc.c such that the windows events
WM_ENTERSIZEMOVE and WM_EXITSIZEMOVE that are sent by Windows when the modal
window resizing/moving begins or ends are considered. Only after WM_EXITSIZEMOVE
is the redraw/resizing executed.

Signed-off-by: Oliver Schmidt <oschmidt-mailinglists@gmx.de>
Reviewed-by: Jon TURNEY <jon.turney@dronecode.org.uk>
Reviewed-by: Colin Harrison <colin.harrison@virgin.net>
2014-03-22 18:56:38 +00:00
..
dmx Replace 'pointer' type with 'void *' 2014-01-12 10:24:11 -08:00
kdrive glx: Make sure we get an FBConfig the root window's visual. 2014-03-17 14:30:58 -07: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-03-11 22:04:36 -07: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: Minimize redraw events after resizing/moving windows in multiwindow mode 2014-03-22 18:56:38 +00:00
Makefile.am Catch errors in recursive relink targets 2010-03-22 00:45:57 -05:00