emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: w32 fullscreen toggling


From: Lennart Borgman
Subject: Re: w32 fullscreen toggling
Date: Thu, 15 Oct 2009 12:31:13 +0200

On Thu, Oct 15, 2009 at 11:19 AM, Jan Djärv <address@hidden> 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 via email to

[Prev in Thread] Current Thread [Next in Thread]