Can XCopyArea work on the desktop?

2005-10-20 Thread Daniel(Lijun_Xie)
Hi,

I want to copy one area of desktop to another place. However I find the 
XCopyArea function only work on windows(widgets), can't work on the desktop 
itself. The term desktop, I means the screen.

Is it so?

thank you very much for any information. It's an urgent work.



Daniel(Lijun_Xie)
[EMAIL PROTECTED] or [EMAIL PROTECTED] 
  2005-10-20

___
Devel mailing list
Devel@XFree86.Org
http://XFree86.Org/mailman/listinfo/devel


undefined reference to 'yylex'

2005-10-20 Thread Stefan Strobl

Hello

I'm trying to compile XFree86 3.3.6 on a SuSE 8.1 (kernel 2.4.19) but 
get the following compile errors:


[...]
In file included from connection.c:79:
/usr/include/stdlib.h:699: parse error before int
make[4]: *** [connection.o] Error 1
make[4]: Leaving directory /usr/XFree86/3.3.6/source/xc/programs/xfs/os`
make[3]: *** [os] Error 2
[...]

Hard to imagine there's something wrong with the stdlib.h, so what else 
could it be? I didn't tamper with the sources...



[...]
/usr/lib/gcc-lib/i486-suse-linux/3.2/../../../../i486-suse-linux/bin/ld: 
cannot find -ltk

collect2: ld returned 1 exit status
make[5]: *** [XF86Setup] Error 1
[...]

I'm using tk/tcl-8.4-48 while xf86site.def suggests to be using tk-4.0 
and Tcl-7.4. Might that be a problem?


Also I'm using gcc-3.2-36 if that makes any difference.

I'd appreciate any help to get 3.3.6 running on my machine.

Thanks
Stefan
___
Devel mailing list
Devel@XFree86.Org
http://XFree86.Org/mailman/listinfo/devel


Re: rewriting touch driver from XFree86 3.3.6 to 4.2.0

2005-10-20 Thread Quentin Olson




Hello,

I was told that the wizard pen driver works for the USB version of this controller:

http://www.stud.fit.vutbr.cz/~xhorak28/index.php.iso-8859-1?page=WizardPen_Driver

I have not tried it so not sure if it will work for a PS/2 interface (which I have too), but maybe the driver writers can help.

-quentin

On Wed, 2005-10-19 at 11:20 +0200, Stefan Strobl wrote:


Hello

I just joined this mailinglist and hope this topic hasn't been discussed 
to many times before.

I've got an existing touch driver for the touch controller UR7HCTS2 from 
semtech (which is connected via the PS/2 interface) for Linux kernel 2.4 
and XFree86 3.3.6. Now I need to rewrite the driver for XFree86 4.2.0 
and have some problems. It starts with include files such as 
xf86Procs.h and xf86_Config.h that don't seem to exist in 4.2.0 
anymore. This is my first attempt to write a driver for XFree86 at all.

Can anybody point out a good documentation on how to rewrite a driver 
from 3.3.6 to 4.2.0?

Usually, is it a lot of work to rewrite such a driver?

Has anybody experience with the UR7HCTS2 controller?

Any comments are appreciated.
Thanks
Stefan
___
Devel mailing list
Devel@XFree86.Org
http://XFree86.Org/mailman/listinfo/devel





Quentin Olson
[EMAIL PROTECTED]
www.posAppliance.com
+1 360 394 3726 office
+1 360 990 3562 mobile







Re: undefined reference to 'yylex'

2005-10-20 Thread Marc Aurele La France

On Thu, 20 Oct 2005, Stefan Strobl wrote:

I'm trying to compile XFree86 3.3.6 on a SuSE 8.1 (kernel 2.4.19) but get the 
following compile errors:



[...]
In file included from connection.c:79:
/usr/include/stdlib.h:699: parse error before int
make[4]: *** [connection.o] Error 1
make[4]: Leaving directory /usr/XFree86/3.3.6/source/xc/programs/xfs/os`
make[3]: *** [os] Error 2
[...]


Hard to imagine there's something wrong with the stdlib.h, so what else could 
it be? I didn't tamper with the sources...


Move stdlib.h to be the first #include in connection.c.


[...]
/usr/lib/gcc-lib/i486-suse-linux/3.2/../../../../i486-suse-linux/bin/ld: 
cannot find -ltk

collect2: ld returned 1 exit status
make[5]: *** [XF86Setup] Error 1
[...]


I'm using tk/tcl-8.4-48 while xf86site.def suggests to be using tk-4.0 and 
Tcl-7.4. Might that be a problem?


Looks like TkLibDir isn't specified correctly in your host.def.

Marc.

+--+---+
|  Marc Aurele La France   |  work:   1-780-492-9310   |
|  Academic Information and|  fax:1-780-492-1729   |
|Communications Technologies   |  email:  [EMAIL PROTECTED]  |
|  352 General Services Building   +---+
|  University of Alberta   |   |
|  Edmonton, Alberta   | Standard disclaimers apply|
|  T6G 2H1 |   |
|  CANADA  |   |
+--+---+
XFree86 developer and VP.  ATI driver and X server internals.
___
Devel mailing list
Devel@XFree86.Org
http://XFree86.Org/mailman/listinfo/devel


Re: Can XCopyArea work on the desktop?

2005-10-20 Thread Mark Vojkovich
   XCopyArea can copy arbitrary rectangles of the desktop if the
source is the root window and the GC has IncludeInferiors for the
sub-window mode.

   See the man page on XSetSubwindowMode.  There are a few
Xlib functions for getting the root window ID (XRootWindow,
XDefaultRootWindow, XRootWindowOfScreen).

Mark.

On Thu, 20 Oct 2005, Daniel(Lijun_Xie) wrote:

 Hi,

 I want to copy one area of desktop to another place. However I find the 
 XCopyArea function only work on windows(widgets), can't work on the desktop 
 itself. The term desktop, I means the screen.

 Is it so?

 thank you very much for any information. It's an urgent work.



 Daniel(Lijun_Xie)
 [EMAIL PROTECTED] or [EMAIL PROTECTED]
 2005-10-20

 ___
 Devel mailing list
 Devel@XFree86.Org
 http://XFree86.Org/mailman/listinfo/devel


___
Devel mailing list
Devel@XFree86.Org
http://XFree86.Org/mailman/listinfo/devel