diff options
author | Michel Dänzer <michel.daenzer@amd.com> | 2016-03-18 16:46:08 +0900 |
---|---|---|
committer | Michel Dänzer <michel@daenzer.net> | 2016-03-23 16:54:24 +0900 |
commit | d670c5c9851b4eff21c845d26c7d7e4eb5ee0fa9 (patch) | |
tree | cc90107e5160221e3834b651b0f41a0d929506fd /configure.ac | |
parent | 7f3d0780ca65a90117c2a61362dbc0899bd9c0b0 (diff) |
Check for xf86CursorResetCursor
If it's available, Xorg calls it on each mode configuration change. It
does what xf86_reload_cursors does (and more), so we don't need to call
the latter anymore.
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'configure.ac')
-rw-r--r-- | configure.ac | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac index f2bf57c6..eb97a6b8 100644 --- a/configure.ac +++ b/configure.ac @@ -147,6 +147,12 @@ AC_CHECK_DECL(fbGlyphs, #include <glyphstr.h> #include <fbpict.h>]) +AC_CHECK_DECL(xf86CursorResetCursor, + [AC_DEFINE(HAVE_XF86_CURSOR_RESET_CURSOR, 1, + [Have xf86CursorResetCursor API])], [], + [#include <xorg-server.h> + #include <xf86Cursor.h>]) + AC_CHECK_DECL(xorg_list_init, [AC_DEFINE(HAVE_XORG_LIST, 1, [Have xorg_list API])], [], [#include <X11/Xdefs.h> |