all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* bug in screen-gamma handling
@ 2002-11-25 12:36 Richard Stallman
  0 siblings, 0 replies; only message in thread
From: Richard Stallman @ 2002-11-25 12:36 UTC (permalink / raw)


I investigated this bug report

    From: Oliver Scholz <alkibiades@gmx.de>
    Subject: Bug in current CVS w.r.t. `screen-gamma'
    Date: Sat, 21 Sep 2002 14:27:39 +0200

    * Eval this:

    (progn
      (push (cons 'screen-gamma 1.5) default-frame-alist)
      (set-face-foreground 'default "White")
      (set-face-background 'default "#0f1f4f"))

    * And hit `C-x 5 2'.

    Now in the new frame only the part of the buffer which contains text
    is displayed in the background-colour _modified_ by the
    gamma-value. The rest of the buffer is displayed in the unmodified
    (in this case: lighter) colour.

and I think the cause is that Emacs fails to use the gamma
to set the GC that is used by the primitive XClearArea.

Can anyone tell me how to set that GC?
What Xlib primitive does the job, and how does one use it?

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2002-11-25 12:36 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-11-25 12:36 bug in screen-gamma handling Richard Stallman

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.