* inhibiting x_scroll_run for a window?
@ 2010-09-10 10:07 joakim
2010-09-10 10:18 ` joakim
0 siblings, 1 reply; 2+ messages in thread
From: joakim @ 2010-09-10 10:07 UTC (permalink / raw)
To: Emacs developers
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
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: inhibiting x_scroll_run for a window?
2010-09-10 10:07 inhibiting x_scroll_run for a window? joakim
@ 2010-09-10 10:18 ` joakim
0 siblings, 0 replies; 2+ messages in thread
From: joakim @ 2010-09-10 10:18 UTC (permalink / raw)
To: Emacs developers
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
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2010-09-10 10:18 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-09-10 10:07 inhibiting x_scroll_run for a window? joakim
2010-09-10 10:18 ` joakim
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).