mirror of
https://git.code.sf.net/p/quake/quakeforge-old
synced 2025-01-31 20:50:36 +00:00
Fixed my slight GLX screwup with _windowed_mouse -- thanks to Marcus
Sundberg for supplying patch.
This commit is contained in:
parent
0cc234c445
commit
87419fbacc
1 changed files with 4 additions and 2 deletions
|
@ -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,
|
||||
|
|
Loading…
Reference in a new issue