all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Lennart Borgman <lennart.borgman@gmail.com>
To: "Jan Djärv" <jan.h.d@swipnet.se>
Cc: Erik Charlebois <erikcharlebois@gmail.com>, emacs-devel@gnu.org
Subject: Re: w32 fullscreen toggling
Date: Thu, 15 Oct 2009 12:31:13 +0200	[thread overview]
Message-ID: <e01d8a50910150331p2f27318wa70c511b92cf786@mail.gmail.com> (raw)
In-Reply-To: <4AD6E90D.3080106@swipnet.se>

On Thu, Oct 15, 2009 at 11:19 AM, Jan Djärv <jan.h.d@swipnet.se> wrote:
> You should make this work with the frame parameter fullscreen.

I think there need to be a way to distinguish between "maximized" and
"fullscreen". I do not think Emacs tries to distinguish between them
at all currently, or am I wrong?


> Erik Charlebois skrev:
>>
>> Attached is a patch to add a function for toggling a frame between
>> fullscreen and windowed state, much like IE8 and Visual Studio's fullscreen
>> modes. A fullscreen frame covers the taskbar and has no window border or
>> title. This provides a builtin way of achieving what darkroom-mode does
>> (darkroom-mode's w32-fullscreen does not cover the taskbar though).
>>  To the best of my googling, I found that the Microsoft-supported way of
>> achieving this effect is to have a window without the WS_CAPTION or
>> WS_THICKFRAME style and set its size to the exact screen resolution of the
>> monitor it is to be fullscreened on. I've tested this on XP, Vista and Win7
>> in single and dual monitor configurations. Resolution changes or
>> Emacs-driven position/size changes (e.g. toggling scroll-bar-mode or
>> menu-mode) are correctly handled (the frame remains fullscreen). If a
>> secondary monitor is disconnected, any fullscreen frames on that screen are
>> punted back to window mode so they look normal when Windows repositions
>> them.
>>
>> --
>> Erik Charlebois
>
>
>




  reply	other threads:[~2009-10-15 10:31 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-10-15  7:04 w32 fullscreen toggling Erik Charlebois
2009-10-15  9:19 ` Jan Djärv
2009-10-15 10:31   ` Lennart Borgman [this message]
2009-10-15 15:03     ` Jan Djärv
2009-10-15 18:34       ` Lennart Borgman
2009-10-15 20:18         ` Erik Charlebois
2009-10-15 21:13 ` Eli Zaretskii
2009-10-15 21:38   ` Erik Charlebois
2009-10-16  7:35     ` Eli Zaretskii

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=e01d8a50910150331p2f27318wa70c511b92cf786@mail.gmail.com \
    --to=lennart.borgman@gmail.com \
    --cc=emacs-devel@gnu.org \
    --cc=erikcharlebois@gmail.com \
    --cc=jan.h.d@swipnet.se \
    /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.