XGetInputFocus() does not work for GTK based applications

2004-07-27 Thread Kala B
Hi, The following code does not give me the correct window id for GTK based applications. #include X11/Xlib.h#include unistd.h#include assert.h main(){ Window focus = 0; int revet = 0; Display *disp = XOpenDisplay(0); assert(disp); sleep(2); XGetInputFocus(disp,focus,revert); printf("Win id is

cursor glint when calling XGetImage

2004-07-27 Thread wallace
Hi, When i call XGetImage, if cursor is at region i want to capture,cursor will glint once,how to make the cursor not glint?I only find this problem on redhat9,any advice is welcome. Thanks Wallace [EMAIL PROTECTED] 2004-07-27 ___ Devel

Re: cursor glint when calling XGetImage

2004-07-27 Thread Mark Vojkovich
If a software cursor is being used it will be removed before XGetImage copies that part of the screen. The only way to avoid that is to make sure a hardware cursor is being used. Nearly all drivers support the traditional 2 color X11 cursors if it's smaller than a certain size (usually 32x32

Re: i855 crt out

2004-07-27 Thread [EMAIL PROTECTED]
Thanks both for your answeres! I'll download the CVS version asap to check if my utility is still useful or if the CVS version has the feauters that i855crt can provide. If this is the case I will release the last version of i855crt just to include the fixes and changes that i have already made.

Fw: XDGAQueryModes

2004-07-27 Thread James Wright
I have recently acquired a notebook and this is the first time I've tried an LCD screen instead of a CRT display. I have some code that tries to find and set a DGA display mode as part of a video initialisation function, and I have noticed that all the modes returned by XDGAQueryModes() have

strange character display in XFree86 4.4.0 on Linux/MIPS

2004-07-27 Thread Youlin Feng
Hello, I am trying to run the XFree86 4.4.0 on Linux 2.4.21 on an embedded MIPS platform. Having overcome problems with USB keyboard/mouse and mmap() of /dev/mem of PCI space, etc., I am able to run the X server via the ATI Rage XL card. X clients with no characters are fine, such as xlogo,