]> Pileus Git - ~andy/gtk/commit
If possible, create only a single shm segment and use multiple parts of it
authorOwen Taylor <otaylor@redhat.com>
Mon, 26 Jun 2000 22:55:42 +0000 (22:55 +0000)
committerOwen Taylor <otaylor@src.gnome.org>
Mon, 26 Jun 2000 22:55:42 +0000 (22:55 +0000)
commit2bb4bcff5d757075502019b0838677c9895ee5b7
treea0a87e3be5ee54a526f57d8dfef7623d646702dc
parentd872631baef94ce39ce76c5b86d1f42865cd2968
If possible, create only a single shm segment and use multiple parts of it

Mon Jun 26 18:53:31 2000  Owen Taylor  <otaylor@redhat.com>

* gdk/gdkrgb.c: If possible, create only a single shm segment and
use multiple parts of it instead of creating a bunch of separate
segments, since the maximum number of segments per system is not
large. (This might be worth backporting to GTK+-1.2.x if we make a
new release )

* gdk/gdkrgb.c: Localize a bunch of variables into the GdkRgbInfo
structure in preparation for per-colormap GdkRGB.

* gdk/x11/gdkimage-x11.c (gdk_image_new): Don't set gdk_use_xshm
to False when we get EINVAL from shmget so that the caller of
gdk_image_new can retry with a smaller segment size.
ChangeLog
ChangeLog.pre-2-0
ChangeLog.pre-2-10
ChangeLog.pre-2-2
ChangeLog.pre-2-4
ChangeLog.pre-2-6
ChangeLog.pre-2-8
gdk/gdkrgb.c
gdk/x11/gdkimage-x11.c