On Wed, 1 May 2002, Mark Vojkovich wrote:

>    With this patch the application no longer runs.  It appears
> that it calls XF86VidModeLockModeSwitch to prevent users from
> switching modes while in the game, but the application itself
> switches modes via the vidMode extension while mode switches
> are locked.  Before your patch, this was allowed.  After your
> patch it is not because the xf86SwitchMode function checks
> the zoomLocked flag.

>    I can get the app to run again by saving zoomLocked in
> VidModeSwitchMode before calling xf86SwitchMode and then
> restoring it afterwards.  I don't know if that's the solution
> you'd like to see though.

OK.  I'll move the zoomLocked check out of xf86SwitchMode() and back into
xf86ZoomViewport().

Thanks.

Marc.

+----------------------------------+-----------------------------------+
|  Marc Aurele La France           |  work:   1-780-492-9310           |
|  Computing and Network Services  |  fax:    1-780-492-1729           |
|  352 General Services Building   |  email:  [EMAIL PROTECTED]          |
|  University of Alberta           +-----------------------------------+
|  Edmonton, Alberta               |                                   |
|  T6G 2H1                         |     Standard disclaimers apply    |
|  CANADA                          |                                   |
+----------------------------------+-----------------------------------+
XFree86 Core Team member.  ATI driver and X server internals.

_______________________________________________
Xpert mailing list
[EMAIL PROTECTED]
http://XFree86.Org/mailman/listinfo/xpert

Reply via email to