Hardware mouse cursor
Posted: 31 May 2007, 08:16
The game should support a mouse cursor drawn directly by the graphics hardware (like the regular cursor on your desktop) rather than drawing its own cursor using OpenGL. This would make the game much easier to operate when the FPS drops below 60.
Anyone willing to patch this?
Not hiding the hardware cursor and not painting the OpenGL cursor is easy. A slightly trickier part is uploading the cursor bitmaps to Xorg so that the right kind of cursor appears. Another issue to consider is that input cannot be grabbed and that one needs to read the cursor position directly, rather than calculating coordinates (this most likely requires fairly big changes in source code).
A side benefit of not grabbing the input is that Alt+Tab, Alt+F4 and other window manager shortcuts will work like they should.
Anyone willing to patch this?
Not hiding the hardware cursor and not painting the OpenGL cursor is easy. A slightly trickier part is uploading the cursor bitmaps to Xorg so that the right kind of cursor appears. Another issue to consider is that input cannot be grabbed and that one needs to read the cursor position directly, rather than calculating coordinates (this most likely requires fairly big changes in source code).
A side benefit of not grabbing the input is that Alt+Tab, Alt+F4 and other window manager shortcuts will work like they should.