Commits

a_ba committed 4ee33b1

fixed cursor not refreshed when xshapes is not usable

Comments (0)

Files changed (1)

 			case XI_RawMotion:
 				// cursor was moved
 				refresh_cursor_location(FALSE);
+#ifdef USE_XDAMAGE
+#ifdef COPY_CURSOR
+				if(!copy_cursor)
+#endif
+				if(use_xdamage) {
+					refresh_image(NULL);
+				}
+#endif
 				return GDK_FILTER_REMOVE;
 			case XI_RawKeyPress:
 				// a key was pressed