xserver-multidpi/hw
Keith Packard f5670b4a7e xfree86: Set xf86CrtcConfigRec cursor pointer to NULL in HideCursor
This makes the cursor pointer held by xf86Cursors.c get reset to NULL
whenever the cursor isn't displayed, and means that the reference
count held in xf86Cursor.c is sufficient to cover the reference in
xf86Cursors.c.

As HideCursor may be called in the cursor loading path after
UseHWCursor or UseHWCursorARGB when HARDWARE_CURSOR_UPDATE_UNHIDDEN
isn't set in the Flags field, the setting of the cursor pointer had to
be moved to the LoadCursor paths.

LoadCursorARGBCheck gets the cursor pointer, but LoadCursorImageCheck
does not. For LoadCursorImageCheck, I added a new function,
xf86CurrentCursor, which returns the current cursor. With this new
function, we can eliminate the cursor pointer from the
xf86CrtcConfigRec, once drivers are converted over to use it.

Signed-off-by: Keith Packard <keithp@keithp.com>
Acked-by: Peter Hutterer <peter.hutterer@who-t.net>
2016-05-26 09:13:20 -07:00
..
dmx dmx/glxProxy: don't free the glx pixmap twice if AddResource fails 2016-03-08 10:19:51 -05:00
kdrive kdrive: Nuke a bunch of dead code 2016-04-29 11:20:01 -04:00
vfb vfb: Re-add LD_EXPORT_SYMBOLS_FLAG to LDFLAGS 2016-03-23 14:47:24 -04:00
xfree86 xfree86: Set xf86CrtcConfigRec cursor pointer to NULL in HideCursor 2016-05-26 09:13:20 -07:00
xnest xnest: Fix needless build dependency on xcb-util-keysyms 2015-11-24 10:41:14 -05:00
xquartz XQuartz: Update copyright years 2016-05-04 00:08:34 -07:00
xwayland xwayland: Move sprite invalidation logic into mipointer 2016-05-25 11:00:56 -04:00
xwin hw/xwin: xcbify internal window manager 2016-04-07 10:31:39 +01:00
Makefile.am Xwayland DDX 2014-04-03 15:19:22 -07:00