From: Aaron Jensen <aaronjensen@gmail.com>
To: Alan Third <alan@idiocy.org>
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 12:33:48 -0700 [thread overview]
Message-ID: <CAHyO48xj1un_T=vRs0=FfRnzcfyXRMBM1ad1APHJ8oU_cUnatQ@mail.gmail.com> (raw)
In-Reply-To: <20170913192737.GA31742@breton.holly.idiocy.org>
On Wed, Sep 13, 2017 at 12:27 PM, Alan Third <alan@idiocy.org> wrote:
> 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.
My guess is that the timer was there to sync w/ the animation. If the
animation is disabled, there shouldn't be a timer, but if it is, there
should be. This is just a guess.
Aaron
> --
> Alan Third
next prev parent reply other threads:[~2017-09-13 19:33 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
2017-09-13 19:33 ` Aaron Jensen [this message]
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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to='CAHyO48xj1un_T=vRs0=FfRnzcfyXRMBM1ad1APHJ8oU_cUnatQ@mail.gmail.com' \
--to=aaronjensen@gmail.com \
--cc=28443@debbugs.gnu.org \
--cc=alan@idiocy.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.