Go to file
Jeremy Uejio c8216aede6 Sun bug #6685465: Xephyr uses wrong or bad colortable in 8-bit mode
<http://bugs.opensolaris.org/view_bug.do?bug_id=6685465>

This bug is caused by Xephyr not handling the RGB byte order correctly
of the server where Xephyr is displaying on. The previous code just
assumed that the order was RGB and did not take into account that
Xservers may use different order (such as BGR).

The fix is to add a function to calculate the byte order and bits
to shift based on the visual mask and the visual bits_per_rgb (which
is usually 8, but could be server dependent).  Since the shifts won't
change once the display connection has been made, I can cache these
values so that Xephyr doesn't have to keep recalculating them everytime
it tries to translate the Xephyr colormap entries for Xephyr clients to
the actual server colormap entries (i.e. calling the function
hostx_set_cmap_entry() repeatedly for every colormap entry).
2008-07-01 13:37:12 -07:00
composite Bug #15586: (Correctly) refuse to redirect the root window. 2008-06-24 10:52:31 -04:00
config config: init dev to NULL to shut up a valgrind warning. 2008-06-02 10:26:03 +09:30
damageext Revert "registry: Register DAMAGE extension protocol names." 2007-11-20 17:31:00 -05:00
dbe dbe: fix DoS reported by iDefense. 2008-06-12 09:04:24 +10:00
dix Fix a leak of window devPrivates in window.c/CrushTree(). 2008-06-27 23:10:12 -04:00
doc Merge branch 'master' into XACE-SELINUX 2007-11-19 18:10:46 -05:00
exa Set driverPriv immediately on CreatePixmap. 2008-06-18 22:34:02 +01:00
fb Check for __amd64__, not __x86_64__. 2008-06-24 14:37:06 -04:00
glx glx: drop unused cleargc 2008-06-13 16:00:15 +03:00
hw Sun bug #6685465: Xephyr uses wrong or bad colortable in 8-bit mode 2008-07-01 13:37:12 -07:00
include input: for non-device events (e.g. DevicePresence) use MAX_DEVICES as id. 2008-06-26 12:53:05 +09:30
mi XTrap delenda est. 2008-06-25 09:52:36 -04:00
miext Rootless: mi doesn't let us resize root, so we need to do it ourselves... 2008-05-05 15:34:10 -07:00
os sprintf() -> snprintf() 2008-06-19 16:42:10 +02:00
randr randr: remove superfluous check against uninitialised variable. 2008-06-15 11:47:08 +09:30
record CVE-2008-1377 - RECORD and Security extensions memory corruption 2008-06-11 08:06:09 -06:00
render Bug #15369: Don't reduce Over to Src for transform + RepeatNone. 2008-06-24 12:40:47 -04:00
Xext SELinux: Add an extension alias under the OS-agnostic "Flask" name. 2008-06-17 19:11:21 -04:00
xfixes Merge branch 'master' into mpx 2008-03-04 18:11:10 +10:30
Xi input: for non-device events (e.g. DevicePresence) use MAX_DEVICES as id. 2008-06-26 12:53:05 +09:30
xkb Don't log null device name in XkbDDXLoadKeymapByNames 2008-06-25 15:06:49 -07:00
.gitignore clean .gitignore 2008-06-13 16:00:16 +03:00
acinclude.m4 Update ac_define_dir macro in acinclude.m4 to 2008-04-12 version 2008-04-16 18:38:38 -07:00
autogen.sh DeliverEventsToWindow: ensure that genericMask has a defined value. 2007-07-10 19:11:30 +09:30
configure.ac Use AC_CHECK_LIB before PKG_CHECK_MODULES for openssl 2008-06-30 13:19:19 -07:00
COPYING Standardise copyright headers for all new files created as part of MPX. 2008-04-25 14:50:24 +09:30
cpprules.in For MANDEFS, also replace __mandir__ for $(mandir) which includes 2006-12-08 15:51:44 -06:00
Makefile.am XTrap delenda est. 2008-06-25 09:52:36 -04:00
xorg-server.m4 Add xorg-server.m4 for driver dependency checking. 2005-11-01 15:01:51 +00:00
xorg-server.pc.in Include pciaccess in the xorg-server.pc Requires line. 2008-04-15 14:51:51 -07:00