64 bit implementation
- From: Sasha Vasko <sasha aftercode net>
- To: wm-spec-list gnome org
- Subject: 64 bit implementation
- Date: Tue, 25 Mar 2003 09:42:01 -0600
Hi
Here is a little problem that surfaced when couple guys tried to port
AfterStep to 64-bit Sun system: It appears that all the XIDs on the
client side are 64-bit long. Looking at X.h from XFree86 Xlib I see that
indeed client XIDs will be 64-bit unsigned long, but at the same time,
server should use 32-bit CARD32 XIDs. What appears is that when 64-bit
IDs on the client are stored in 32 bit variables it produces
BadDrawable/BadWindow errors. I thought for a moment that problem is in
endiannes, but AFAIK SPARC systems are all big endian.
Now in the specs we explicitely mention 32-bit values for everything.
Should we change it? I really am clueless about how 64-bit X should be
treated, so maybe more educated ppl out there can provide some insight.
Sasha Vasko
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]