xserver-multidpi/hw/kdrive
Keith Packard bfa5c73a36 ephyr: Free damage structure at server reset time
The usual mechanism for freeing a damage structure when the pixmap is
destroyed does not work for the screen pixmap as it isn't freed in the
normal way.

The existing driver cleanup function, scrfini, is called after the
wrapped CloseScreen functions, including damageCloseScreen, are called
and thus ephyr can't free the damage structure at that point.

Deal with this by providing an early CloseScreen hook in KdCloseScreen
which ephyr can use to free the damage structure before damage itself
shuts down.

Signed-off-by: Keith Packard <keithp@keithp.com>
Reviewed-by: Jamey Sharp <jamey@minilop.net>
2014-07-17 11:26:44 -07:00
..
ephyr ephyr: Free damage structure at server reset time 2014-07-17 11:26:44 -07:00
fake Replace INCLUDES with AM_CPPFLAGS 2013-08-06 13:08:13 +10:00
fbdev Replace INCLUDES with AM_CPPFLAGS 2013-08-06 13:08:13 +10:00
linux kdrive: Ignore failure to chown console tty to current user 2014-04-18 16:30:17 -07:00
src ephyr: Free damage structure at server reset time 2014-07-17 11:26:44 -07:00
Makefile.am Catch errors in recursive relink targets 2010-03-22 00:45:57 -05:00
Xkdrive.man The great kdrive purge. 2008-05-16 08:16:01 -04:00