summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMicah Dowty <micah@vmware.com>2009-05-12 16:46:39 -0700
committerPhilip Langdale <philipl@fido2.homeip.net>2009-05-12 16:46:39 -0700
commit8e15f6669ff2cb5bf4260ac87a481a4e38044b26 (patch)
tree03ecfa9de42703d5d2e3504936287fbdafb408e6
parentbfa3dfc27b05d4a2deff230f8241bd44f72fb7a0 (diff)
Better cursor size limit and explanation
Increase the cursor size limit to 64x64, and give a better explanation of the host's cursor size limits.
-rw-r--r--src/vmware.h10
1 files changed, 8 insertions, 2 deletions
diff --git a/src/vmware.h b/src/vmware.h
index 80393e6..57872b2 100644
--- a/src/vmware.h
+++ b/src/vmware.h
@@ -43,8 +43,14 @@
#include "svga_reg.h"
#include "svga_struct.h"
-/* Arbitrarily choose max cursor dimensions. The emulation doesn't care. */
-#define MAX_CURS 32
+/*
+ * The virtual hardware's cursor limits are pretty big. Some VMware
+ * product versions limit to 1024x1024 pixels, others limit to 128
+ * kilobytes of cursor data. We just choose an arbitrary maximum
+ * cursor size. 64x64 is a common value for real hardware, so we'll go
+ * with that.
+ */
+#define MAX_CURS 64
#define NUM_DYN_MODES 2