summaryrefslogtreecommitdiff
path: root/src/apm_cursor.c
diff options
context:
space:
mode:
authorDaniel Stone <daniel@fooishbar.org>2005-04-20 12:25:22 +0000
committerDaniel Stone <daniel@fooishbar.org>2005-04-20 12:25:22 +0000
commitbdbc205e36dbceb1c9c21e20dd9d2e4bf828989e (patch)
tree7ae91bc44dc6b85b8a8352aa420ac1844d1979f8 /src/apm_cursor.c
parent40912339a041c7193f1134befc94d62c5c3bd75b (diff)
change "foo.h" to <X11/foo.h> for core headers, e.g. X.h, Xpoll.h; change "foo.h", "extensions/foo.h" and "X11/foo.h" to <X11/extensions/foo.h> for extension headers, e.g. Xv.h; change "foo.[ch]" to <X11/Xtrans/foo.[ch]> for Xtrans files.
Diffstat (limited to 'src/apm_cursor.c')
-rw-r--r--src/apm_cursor.c15
1 files changed, 2 insertions, 13 deletions
diff --git a/src/apm_cursor.c b/src/apm_cursor.c
index 4bf0f98..1ad0e82 100644
--- a/src/apm_cursor.c
+++ b/src/apm_cursor.c
@@ -1,8 +1,8 @@
/* $XFree86: xc/programs/Xserver/hw/xfree86/drivers/apm/apm_cursor.c,v 1.14 2000/06/30 18:27:02 dawes Exp $ */
-#include "X.h"
-#include "Xproto.h"
+#include <X11/X.h>
+#include <X11/Xproto.h>
#include "misc.h"
#include "input.h"
#include "cursorstr.h"
@@ -84,17 +84,6 @@ int ApmHWCursorInit(ScreenPtr pScreen)
infoPtr->ShowCursor = ApmShowCursor;
infoPtr->UseHWCursor = ApmUseHWCursor;
- /*ErrorF("%s %s: %s: Using hardware cursor (XAA).\n",
- XCONFIG_PROBED, vga256InfoRec.name, vga256InfoRec.chipset);
-
- if(XAACursorInfoRec.Flags & USE_HARDWARE_CURSOR) {
- vgaHWCursor.Init = XAACursorInit;
- vgaHWCursor.Initialized = TRUE;
- vgaHWCursor.Restore = XAARestoreCursor;
- vgaHWCursor.Warp = XAAWarpCursor;
- vgaHWCursor.QueryBestSize = XAAQueryBestSize;
- }*/
-
/* Set up the convert table for the input cursor data */
for (i = 0; i < 256; i++)
ConvertTable[i] = ((~i) & 0xAA) | (i & (i >> 1) & 0x55);