unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: joakim@verona.se
To: Emacs developers <emacs-devel@gnu.org>
Subject: Re: inhibiting x_scroll_run for a window?
Date: Fri, 10 Sep 2010 12:18:44 +0200	[thread overview]
Message-ID: <m3d3sl52bf.fsf@verona.se> (raw)
In-Reply-To: <m3lj7952ty.fsf@verona.se> (joakim@verona.se's message of "Fri, 10 Sep 2010 12:07:37 +0200")

joakim@verona.se writes:

> 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.

Eh, I immediately noticed inhibit_try_window_reusing. Sometimes it helps
to just write a question down...

-- 
Joakim Verona



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

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

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

  List information: https://www.gnu.org/software/emacs/

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

  git send-email \
    --in-reply-to=m3d3sl52bf.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 public inbox

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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).