[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#19075: `toggle-frame-maximized' and `toggle-frame-fullscreen' on Win
From: |
Eli Zaretskii |
Subject: |
bug#19075: `toggle-frame-maximized' and `toggle-frame-fullscreen' on Windows |
Date: |
Mon, 17 Nov 2014 18:03:22 +0200 |
> Date: Mon, 17 Nov 2014 11:16:10 +0100
> From: martin rudalics <rudalics@gmx.at>
> Cc: 19075@debbugs.gnu.org
>
> > By the way, I forgot to mention that sometimes it
> > works and sometimes not, like if there was some concurrency issue.
>
> I think so too. You should be able to verify that by putting
>
> (toggle-frame-maximized)
> (sit-for 0)
> (toggle-frame-fullscreen)
>
> into your .emacs.
The concurrency issue is fundamental, since the Windows messages are
handled in a separate thread, and a command sent to a frame is not
executed immediately.