On Tue, Nov 19, 2002 at 12:16:08PM -0600, Frank Cox wrote:
>
> Well, this is RH8 with Metacity and I don't have a lot of choices for
> window focus.
>
> "Click to give focus" or "Point to give focus" are it. I've got it set
> for "Click to give focus".
>
> You're right in that it looks like the terminal still has the input focus,
> but that doesn't explain why it only happens with -rr but not with -rl in
> the (few) games that I've tried, and not with all of those. pacman and
> mspacman are similar but pacman works with -rr and mspacman doesn't. If
> it was a simple focus problem you'd think neither would work.
I think this is being caused by the problem that cropped up recently where
the game window is created twice in some cases. I tracked down the cause
of it last night; in video.c, find these lines:
visual_width = params->width;
visual_height = params->height;
and change them to
if (params->orientation & ORIENTATION_SWAP_XY)
{
visual_width = params->height;
visual_height = params->width;
}
else
{
visual_width = params->width;
visual_height = params->height;
}
There is as yet a problem with pacman when artwork is turned on, since
its rotated and non-rotated bitmaps have a slight discrepancy (one of the
lengths is off by a pixel), but I might be able to work around it.
Please let me know if the above change helps at all.
_______________________________________________
Xmame mailing list
[EMAIL PROTECTED]
http://toybox.twisted.org.uk/mailman/listinfo/xmame