From: Keith David Bershatsky <esq@lawlist.com>
To: Alan Third <alan@idiocy.org>
Cc: emacs-devel@gnu.org
Subject: Re: Whether a struct window *w is a live/valid window.
Date: Sat, 23 Mar 2019 10:03:10 -0700 [thread overview]
Message-ID: <m236ndmskx.wl%esq@lawlist.com> (raw)
Thank you, Alan, for confirming that a reasonable approach to checking whether the window is alive/valid is to use:
if (w != NULL && NILP (w->contents))
The drawing method for glyphs that I am familiar with is as follows:
draw_glyphs
FRAME_RIF (f)->draw_glyph_string (s);
font->driver->draw
Those series of events do not occur when the vertical scroll bar is removed. The scroll bar removal is processed in the span of just one (1) gdb step; i.e., "s".
ns_read_socket ... [NSAPP run];
The calls to "draw_glyphs ... font->driver->draw" have already occurred and the window has already been properly updated (with fake cursors) *before* "ns_read_socket ... [NSAPP run]" is processed. Does "ns_read_socket ... [NSAPP run]" have a sort of "selective photographic memory" of the glyphs, but not the fake cursors that were created with NSRectFill?
http://www.lawlist.com/images/after_03_10_2019.png
next reply other threads:[~2019-03-23 17:03 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-03-23 17:03 Keith David Bershatsky [this message]
-- strict thread matches above, loose matches on Subject: below --
2019-03-23 6:30 Whether a struct window *w is a live/valid window Keith David Bershatsky
2019-03-23 10:49 ` Alan Third
2019-03-20 20:14 Keith David Bershatsky
2019-03-22 15:01 ` Alan Third
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=m236ndmskx.wl%esq@lawlist.com \
--to=esq@lawlist.com \
--cc=alan@idiocy.org \
--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.