This is the mail archive of the cygwin-xfree@cygwin.com mailing list for the Cygwin XFree86 project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

RE: No Mouse Wheel Support with -fullscreen


Your test must not have been very precise, because mouse wheel support in
Cygwin/XFree86 in not at all dependent on whether you are running in
fullscreen mode or not.  Perhaps you need to update your version of DirectX
(though that really should have nothing to do with it):
http://windowsupdate.microsoft.com/

Or, you could run a more precise test by launching Cygwin/XFree86, then
running:
/usr/X11R6/bin/xev

Move the mouse cursor over the xev window, roll the mouse, and record the
events for buttons for and 5.  Then, launch in fullscreen mode and do the
same thing.  Something else is going on if the events are the same.  If the
events aren't showing up at all in fullscreen then you likely have something
wrong with your mouse driver or DirectX.

You could also try running with -engine 1, instead of the default -engine 4,
as -engine 1 doesn't use DirectX at all, thus eliminating one cause of
problems.

Report your results to the list,

Harold



> -----Original Message-----
> From: cygwin-xfree-owner@sources.redhat.com
> [mailto:cygwin-xfree-owner@sources.redhat.com]On Behalf Of bosy
> Sent: Sunday, September 09, 2001 6:51 PM
> To: cygwin-xfree@sourceware.cygnus.com
> Subject: No Mouse Wheel Support with -fullscreen
>
>
> Environment
>
> XWin-test48
> CYGWIN_NT-5.0 p 1.3.2(0.39/3/2) 2001-05-20 23:28 i686 unknown
> Win2k pro sp2
>
> When running in windowed mode I get X events for the mouse
> wheel, but when running in fullscreen mode I don't.
>
> Any hints to help debug this problem?
>
> Output from "windowed" -- does give me X events for the mouse wheel:
>
> + export DISPLAY=127.0.0.1:0.0
> + /usr/X11R6/bin/XWin-test48 -engine 4 -depth 16 -screen 0 1280 1024
> + /usr/X11R6/bin/xterm -e /usr/X11R6/bin/xev -geom +600+500
> ddxProcessArgument () - Initializing default screens
> winInitializeDefaultScreens () - w 1280 h 1024
> ddxProcessArgument ()
> ddxProcessArgument ()
> ddxProcessArgument ()
> ddxProcessArgument () - screen - argc: 9 i: 5
> _XSERVTransmkdir: Owner of /tmp/.X11-unix should be set to root
> winDetectSupportedEngines () - Windows NT/2000
> winDetectSupportedEngines () - DirectDraw installed
> winDetectSupportedEngines () - Allowing PrimaryDD
> winDetectSupportedEngines () - DirectDraw4 installed
> winDetectSupportedEngines () - Returning, supported engines 0000001f
> winSetEngine () - Using user's preference: 4
> winAdjustVideoModeShadowDDNL () - Windowed, command line depth:
> 16, using depth: 24
> winCreateBoundingWindowWindowed () - WindowClient w 1274 h 970 r
> 1274 l 0 b 970 t 0
> winAllocateFBShadowDDNL () - lPitch: 3824
> winInitVisualsShadowDDNL () - Masks 00ff0000 0000ff00 000000ff
> BPRGB 8 d 24
> winLayerCreate () - dwDepth 24
> winRandRInit ()
> winCreateDefColormap () - Deferring to fbCreateDefColormap ()
> winWindowProc () - Closekey hit, quitting
> winCloseScreenShadowDDNL () - Freeing screen resources
> winKeybdReleaseModifierKeys - Releasing VK_LMENU
> xterm:  fatal IO error 32 (Broken pipe) or KillClient on X server
> "127.0.0.1:0.0"
>
> ______________________
> Output from -fullscreen -- this does not give me X events for the
> mouse wheel:
>
> $ ./testx
> + export DISPLAY=127.0.0.1:0.0
> + /usr/X11R6/bin/XWin-test48 -engine 4 -depth 16 -fullscreen
> -screen 0 1280 1024
> + /usr/X11R6/bin/xterm -e /usr/X11R6/bin/xev -geom +600+500
> ddxProcessArgument () - Initializing default screens
> winInitializeDefaultScreens () - w 1280 h 1024
> ddxProcessArgument ()
> ddxProcessArgument ()
> ddxProcessArgument ()
> ddxProcessArgument ()
> ddxProcessArgument () - screen - argc: 10 i: 6
> _XSERVTransmkdir: Owner of /tmp/.X11-unix should be set to root
> winDetectSupportedEngines () - Windows NT/2000
> winDetectSupportedEngines () - DirectDraw installed
> winDetectSupportedEngines () - Allowing PrimaryDD
> winDetectSupportedEngines () - DirectDraw4 installed
> winDetectSupportedEngines () - Returning, supported engines 0000001f
> winSetEngine () - Using user's preference: 4
> winAdjustVideoModeShadowDDNL () - FullScreen, using command line depth: 16
> winAllocateFBShadowDDNL () - Changing video mode
> winAllocateFBShadowDDNL () - lPitch: 2560
> winInitVisualsShadowDDNL () - Masks 0000f800 000007e0 0000001f
> BPRGB 6 d 16
> winLayerCreate () - dwDepth 16
> winRandRInit ()
> winCreateDefColormap () - Deferring to fbCreateDefColormap ()
> winWindowProc () - Closekey hit, quitting
> winCloseScreenShadowDDNL () - Freeing screen resources
> xterm:  fatal IO error 32 (Broken pipe) or KillClient on X server
> "127.0.0.1:0.0"
> winKeybdReleaseModifierKeys - Releasing VK_LMENU
>
>
>


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]