Qbasicnews.com

Full Version: GFXlib: SETMOUSE and GETMOUSE don't work on Linux
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hi,

as some of you might already know :wink:, I'm running a programmer-meeting for porting a big project (Physics-Engine) from QB to FB.

But now the GET- and SETMOUSE-commands don't work under our (only) linux-system.

A simple program with code
Code:
Screen 18
DO
  c=c+1
  locate 1:?c
  sleep 10
  getmouse x,y,,k
  locate 2:?x;y,k
loop
is only working when the mouse is not on the window. But when the mouse-cursor is moved on the window the program suddelny freezes.

System:
Fedora Core 1
Kernel 2.4.22-1.2115.nptl.img
KDE 3.1.4-4
XFree86 Version 4.3.0 (Fedora Core 1: 4.3.0-42)
Release Date: 15 August 2003
X Protocol Version 11, Revision 0, Release 6.6
Build Operating System: Linux 2.4.21-2.ELsmp i686 [ELF]


Any suggestions?

Greetings from Bavaria,
Mecki
Hi

I've already identified the problem, but I can't fix it now as I'm at work... I'll be back home later so you'll get your fix in CVS soon :wink:
Great, lillo Smile thx!
Ok, just coded, tested and then applied the fix to CVS.