Fixed my slight GLX screwup with _windowed_mouse -- thanks to Marcus

Sundberg for supplying patch.
This commit is contained in:
Jeff Teunissen 2000-01-01 12:31:54 +00:00
parent 0cc234c445
commit 87419fbacc
1 changed files with 4 additions and 2 deletions

View File

@ -41,7 +41,7 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
static Display *dpy = NULL;
static Window win;
static Cursor cursor;
static Cursor cursor = None;
static GLXContext ctx = NULL;
static float old_windowed_mouse = 0;
@ -248,7 +248,9 @@ static void blank_cursor(void)
static void install_grabs(void)
{
blank_cursor();
if (cursor == None){
blank_cursor();
}
XGrabPointer(dpy, win,
True,