# SDL\_ShowCursor not working

**URL:** <https://discourse.libsdl.org/t/sdl-showcursor-not-working/12595>\
**Category:** SDL Development\
**Created:** [September 20, 2005, 1:06pm UTC](https://discourse.libsdl.org/t/sdl-showcursor-not-working/12595 "2005-09-20T13:06:07Z")\
**Posts on this page:** 1\
**Showing post:** 3

<div class="post-metadata">

**Author:** ![Doodle](https://discourse.libsdl.org/letter_avatar_proxy/v4/letter/d/9de0a6/32.png) [@Doodle](https://discourse.libsdl.org/u/Doodle)\
**Post date:** [September 27, 2005, 1:33pm UTC](https://discourse.libsdl.org/t/sdl-showcursor-not-working/12595/3 "2005-09-27T13:33:54Z")

</div>

Ryan C. Gordon wrote:

> > ive got an SDL app in a window running opengl, when the mouse moves over my  
> > window, the mouse disapears. Show cursor has now affect.  
> > Im using the latest version of sdl (1.2).
> > 
> > any ideas why this could be?
> 
> What platform?

Btw, speaking about cursors, I’ve also found an oddity, which affects  
all the supported platforms:  
I think that if SDL emulates the cursor (so, uses SW cursor), and the  
video surface is a HWSURFACE, then SDL\_UpdateRects() will not draw the  
cursor, because that branch of the ‘if’ has no logic to handle SW cursor.

Also a problem is that if the user blits directly into the screen  
surface (HW surface, again) using SDL\_UpperBlit(), then SW cursor can be  
overwritten/deleted, there is no logic to handle that.

I don’t know if these are known problems, just thought that I may note it.

Doodle

---

_[View the full topic](https://discourse.libsdl.org/t/sdl-showcursor-not-working/12595)._
