all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Richard Stallman <rms@gnu.org>
Subject: bug in screen-gamma handling
Date: Mon, 25 Nov 2002 07:36:56 -0500	[thread overview]
Message-ID: <E18GITw-0004Tg-00@fencepost.gnu.org> (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?

                 reply	other threads:[~2002-11-25 12:36 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=E18GITw-0004Tg-00@fencepost.gnu.org \
    --to=rms@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.