all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: joakim@verona.se
To: Emacs developers <emacs-devel@gnu.org>
Subject: inhibiting x_scroll_run for a window?
Date: Fri, 10 Sep 2010 12:07:37 +0200	[thread overview]
Message-ID: <m3lj7952ty.fsf@verona.se> (raw)

I spent a little time on the xwidget branch, and noticed that sometimes
widgets get "stuck" on a coordinate when scrolling. This only happens
sometimes.

I think this is because Emacs sometimes decide to scroll the window by
blitting rather than redrawing. I would like to understand how to get
more control over scrolling.

- is it possible to disable blit-scrolling and instead force redraw
  scrolling for a particular window?

- is it possible to know where a glyp is supposed to be on-screen after
  a redisplay? Currently I solve this for xwidgets by assuming that
  after a redisplay has finished, my drawing routine has been called
  with valid coordinates sometime during redisplay. This doesnt seem to
  happen always and thats why I suspect the scrolling routine, but
  perhaps my basic aproach is flawed.

-- 
Joakim Verona



             reply	other threads:[~2010-09-10 10:07 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-09-10 10:07 joakim [this message]
2010-09-10 10:18 ` inhibiting x_scroll_run for a window? joakim

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=m3lj7952ty.fsf@verona.se \
    --to=joakim@verona.se \
    --cc=emacs-devel@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.