Index: /trunk/src/VBox/Frontends/VirtualBox/src/runtime/UISession.cpp
===================================================================
--- /trunk/src/VBox/Frontends/VirtualBox/src/runtime/UISession.cpp	(revision 84611)
+++ /trunk/src/VBox/Frontends/VirtualBox/src/runtime/UISession.cpp	(revision 84612)
@@ -1680,6 +1680,8 @@
     // Qt5 QCursor recommends 32 x 32 cursor, therefore the original data is copied to
     // a larger QImage if necessary. Cursors like 10x16 did not work correctly (Solaris 10 guest).
-    const uint uCursorWidth = uWidth >= 32 ? uWidth : 32;
-    const uint uCursorHeight = uHeight >= 32 ? uHeight : 32;
+    // Align the cursor dimensions to 32 bit pixels, because for example a 56x56 monochrome cursor
+    // did not work correctly on Windows host.
+    const uint uCursorWidth = RT_ALIGN_32(uWidth, 32);
+    const uint uCursorHeight = RT_ALIGN_32(uHeight, 32);
 
     if (fHasAlpha)
