fixed size monitors and scaling ...

2003-02-04 Thread Sven Luther
Hello, ... I am trying to enable the scaling functionality of the chipset i am currently writing a driver for. I wish it to be possible to specify a fixed size monitor (like an LCD screen) and then still allow the possibility of using other video modes and up (or down) scale them to the size of th

[PATCH] encodings Imakefile missing an encoding

2003-02-04 Thread Mike A. Harris
Trivial patch attached to add a missing Microsoft encoding to the encodings Imakefile. -- Mike A. Harris ftp://people.redhat.com/mharris OS Systems Engineer - XFree86 maintainer - Red Hat --- xc/fonts/encodings/Imakefile.encodings-Imakefile-fix2003-01-14 21:01:12.0 -0500

Re: ANSI trigraphs enabled by default in X sources

2003-02-04 Thread Mike A. Harris
On Mon, 3 Feb 2003, Keith Packard wrote: >> Is there anywhere in the X source code that *gasp* uses ANSI >> trigraphs and relies on this broken^Wwonderful feature of ANSI C >> being enabled? ;o) > >I sure hope not. I've certainly never seen any such code (and would have >fixed it if I had). >

Re: ANSI trigraphs enabled by default in X sources

2003-02-04 Thread Mike A. Harris
On Tue, 4 Feb 2003, Jeff Garzik wrote: >> Changing the "(???)" to something else is also an option, but I'd >> prefer to do one of the above instead, and just wondered what >> common consensus might be. > >hehe... ran into this in the Linux kernel, too, where comments >containing "???" occur fro

Re: ANSI trigraphs enabled by default in X sources

2003-02-04 Thread Kurt Wall
Feigning erudition, Keith Packard wrote: % Around 0 o'clock on Feb 4, "Mike A. Harris" wrote: % % > Is there anywhere in the X source code that *gasp* uses ANSI % > trigraphs and relies on this broken^Wwonderful feature of ANSI C % > being enabled? ;o) % % I sure hope not. I've certainly neve

Re: A question about this list

2003-02-04 Thread Ross Vandegrift
On Wed, Feb 05, 2003 at 10:42:17AM +1100, Carsten Haitzler wrote: > well devel is more for development of xfree86 itself and the libs, not for > helping people learn xlib programming as such. i know of no dedicated lists for > this. comp.windows.x is probably a good place to start. Quite a few kn

Re: A bug in xset and a fix for it

2003-02-04 Thread David Dawes
On Tue, Feb 04, 2003 at 07:18:15PM +0100, Tapani Utriainen wrote: >On Tue, 4 Feb 2003, David Dawes wrote: >> >> Have you looked into why XkbGetKeyboard() is returning NULL? >> > >Only briefly, the trail of the error led to a so dark place that I >didn't dare to enter it :-) > >XkbGetKeyboard() call

Re: A question about this list

2003-02-04 Thread Individual . .
On Tuesday, February 4, 2003, at 08:42 PM, Carsten Haitzler (The Rasterman) wrote: main uses of xlib: * writing window managers * writing toolkits * insane monkeys * writing really small simple display programs that must require as little on the host system as possible. BINGO! Yes, that's it, ex

Re: A question about this list

2003-02-04 Thread The Rasterman
On Tue, 4 Feb 2003 18:21:52 -0500 Havoc Pennington <[EMAIL PROTECTED]> babbled: > On Tue, Feb 04, 2003 at 03:16:16PM -0300, Individual . . wrote: > > > > I joined this list because I have started programming with xlib.The > > questions I will probably ask will be quite basic. Is this a good list

Re: A question about this list

2003-02-04 Thread Spundun Bhatt
On Tue, 2003-02-04 at 15:21, Havoc Pennington wrote: > On Tue, Feb 04, 2003 at 03:16:16PM -0300, Individual . . wrote: > > > > I joined this list because I have started programming with xlib.The > > questions I will probably ask will be quite basic. Is this a good list > > for this purpose? I go

Re: A question about this list

2003-02-04 Thread Havoc Pennington
On Tue, Feb 04, 2003 at 03:16:16PM -0300, Individual . . wrote: > > I joined this list because I have started programming with xlib.The > questions I will probably ask will be quite basic. Is this a good list > for this purpose? I googled quite a bit but could not find a mailing > list dealing

Re: XGetWindowAttributes fails for pixmaps

2003-02-04 Thread joe
> The man page says that XGetWindowAttributes will work for a pixmap as > well as for a window, although only some components of the result will > be meaningful for a pixmap. > > When I call XGetWindowAttributes specifying a pixmap for the drawable, I > get a BadWindow error > > Any ideas what

XGetWindowAttributes fails for pixmaps

2003-02-04 Thread Dan DeJohn
The man page says that XGetWindowAttributes will work for a pixmap as well as for a window, although only some components of the result will be meaningful for a pixmap. When I call XGetWindowAttributes specifying a pixmap for the drawable, I get a BadWindow error Any ideas what I am doing wron

Re: A bug in xset and a fix for it

2003-02-04 Thread Tapani Utriainen
On Tue, 4 Feb 2003, David Dawes wrote: > > Have you looked into why XkbGetKeyboard() is returning NULL? > Only briefly, the trail of the error led to a so dark place that I didn't dare to enter it :-) XkbGetKeyboard() calls XkbGetKeyboardByName(). That in turn uses _XReply() to fill in a xkbGetK

A question about this list

2003-02-04 Thread Individual . .
Hi. I joined this list because I have started programming with xlib.The questions I will probably ask will be quite basic. Is this a good list for this purpose? I googled quite a bit but could not find a mailing list dealing exclusively with programming for X11 for beginners. If anyone thinks

broken num-pad keys in recent cvs

2003-02-04 Thread Maciek Klimkowski
Recent versions of XFree86 (cvs) appear to have broken numeric keypad 'support'. Pressing any of these keys results in xev showing: -- FocusOut event, serial 24, synthetic NO, window 0x461, mode NotifyGrab, detail NotifyAncestor FocusOut event, serial 24, synthetic NO, window 0x46

Re: XCursor: left_ptr_watch does not change with theme

2003-02-04 Thread Owen Taylor
On Tue, 2003-02-04 at 00:04, Brandon Wright wrote: > With my attempts at theming Xcursor I have run into a deadlock. No > matter what themes I use or create, none of them correctly change > left_ptr_watch. Instead, the theme will default onto the left_ptr_watch > from whiteglass. > > I did notice

Re: A bug in xset and a fix for it

2003-02-04 Thread David Dawes
On Tue, Feb 04, 2003 at 05:15:59PM +0100, Tapani Utriainen wrote: >Hi, > >currently xset can segfault when trying change the repeat rate using XKB. >The problem is a missing null-pointer check and the fix is a one-liner appended below. > >I have no idea whether this is only an linux x86 issue since

Re: [Bug 83284] New: Mouse cursor visual glitches with XFree86(fwd)

2003-02-04 Thread Michel Dänzer
On Die, 2003-02-04 at 15:43, Vladimir Dergachev wrote: > > > > RADEONWaitForVerticalSync() polls for. I'm working on a fix, basically > > > > my plan is to use the DRM vertical blank ioctl when appropriate. > > > > > > There is a patch I posted a while ago for the same problem that waits for > > >

A bug in xset and a fix for it

2003-02-04 Thread Tapani Utriainen
Hi, currently xset can segfault when trying change the repeat rate using XKB. The problem is a missing null-pointer check and the fix is a one-liner appended below. I have no idea whether this is only an linux x86 issue since that is the only X-platform with XKB I have access to. Since the null p

Re: ANSI trigraphs enabled by default in X sources

2003-02-04 Thread David Dawes
On Tue, Feb 04, 2003 at 12:23:32AM -0500, Jeff Garzik wrote: >On Tue, Feb 04, 2003 at 12:12:22AM -0500, Mike A. Harris wrote: >> Is there anywhere in the X source code that *gasp* uses ANSI >> trigraphs and relies on this broken^Wwonderful feature of ANSI C >> being enabled? ;o) >> >> I ask bec

Re: [XFree86] 4.2.99.4 no display, locked keyboard (Radeon7500Mobility)

2003-02-04 Thread Vladimir Dergachev
Michel, could you remind me what is that xxx_SAVE bit ? best Vladimir Dergachev On Sun, 3 Feb 2003, Michel [ISO-8859-1] Dänzer wrote: > On Son, 2003-02-02 at 12:51, Michel Dänzer wrote: > > On Son, 2003-02-02 at 06:09, hy0 wr

Re: [Bug 83284] New: Mouse cursor visual glitches with XFree86 (fwd)

2003-02-04 Thread Vladimir Dergachev
> > > RADEONWaitForVerticalSync() polls for. I'm working on a fix, basically > > > my plan is to use the DRM vertical blank ioctl when appropriate. > > > > There is a patch I posted a while ago for the same problem that waits for > > retrace with a timeout - so even if the bit is cleared we timeout

Re: xterm can hang, CPU bound

2003-02-04 Thread Thomas E. Dickey
On Mon, 3 Feb 2003, D. Hugh Redelmeier wrote: > | I guess the comparable chunks are like this: > | > | select(6, [4 5], [], NULL, {0, 0}) = 1 (in [4], left {0, 0}) > | select(5, [4], [], [], {0, 0}) = 1 (in [4], left {0, 0}) > | select(5, [4], [], [], {0, 0}) = 1 (in [4], left {0, 0}) > | select(5