From: Alan Third <alan@idiocy.org>
To: Aaron Jensen <aaronjensen@gmail.com>
Cc: 28443@debbugs.gnu.org
Subject: bug#28443: 26.0.50; Pause when fullscreening when ns-use-native-fullscreen is nil on macOS
Date: Wed, 13 Sep 2017 20:27:37 +0100 [thread overview]
Message-ID: <20170913192737.GA31742@breton.holly.idiocy.org> (raw)
In-Reply-To: <m2ingm23re.fsf@gmail.com>
On Wed, Sep 13, 2017 at 05:15:49AM -0700, Aaron Jensen wrote:
>
> When ns-use-native-fullscreen is nil and a frame is set to fullscreen,
> there is a slight pause before the frame goes fullscreen. I believe the
> pause is about the same length as the animation when native fullscreen
> is used, so I'm wondering if there's some timing code in there that can
> be disabled when non-native fullscreen is being used.
Found it. In ns_fullscreen_hook in nsterm.m there is a timer:
/* Old style fs don't initiate correctly if created from
init/default-frame alist, so use a timer (not nice...).
*/
[NSTimer scheduledTimerWithTimeInterval: 0.5 target: view
selector: @selector (handleFS)
userInfo: nil repeats: NO];
if I replace the timer with
[view handleFS]
it works absolutely fine, but I have to assume there are situations
where it doesn’t.
--
Alan Third
next prev parent reply other threads:[~2017-09-13 19:27 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-09-13 12:15 bug#28443: 26.0.50; Pause when fullscreening when ns-use-native-fullscreen is nil on macOS Aaron Jensen
2017-09-13 17:01 ` Alan Third
2017-09-13 19:27 ` Alan Third [this message]
2017-09-13 19:33 ` Aaron Jensen
2017-09-13 20:13 ` 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
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=20170913192737.GA31742@breton.holly.idiocy.org \
--to=alan@idiocy.org \
--cc=28443@debbugs.gnu.org \
--cc=aaronjensen@gmail.com \
/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).