GNU bug report logs - #14949
Snapped window acts like a fullscreen one (Windows 7)

Previous Next

Package: emacs;

Reported by: Juanma Barranquero <lekktu <at> gmail.com>

Date: Thu, 25 Jul 2013 00:09:02 UTC

Severity: normal

Found in version 24.3.50

Full log


Message #26 received at 14949 <at> debbugs.gnu.org (full text, mbox):

From: martin rudalics <rudalics <at> gmx.at>
To: Juanma Barranquero <lekktu <at> gmail.com>
Cc: 14949 <at> debbugs.gnu.org
Subject: Re: bug#14949: Snapped window acts like a fullscreen one (Windows 7)
Date: Sun, 05 Jan 2014 19:39:23 +0100
> If I had to guess, I'd bet that when the window is snapped (that's how
> the feature is called, Aero Snap), Windows remembers that it is
> sort-of-maximized (to make de-snapping possible). So if we pass
> SW_SHOWNORMAL ("If the window is minimized or maximized, the system
> restores it to its original size and position") to ShowWindow, Windows
> restores the frame; then Emacs gets hold of the (new) size and
> position.
>
> Does that make any sense?

It does.  You should be able to verify this by debugging it.  Or better
by investigating the WINDOWPLACEMENT structure.  Then you can try to
replace SW_SHOWNORMAL by SW_RESTORE.  If that doesn't help either we are
probably lost.

martin




This bug report was last modified 11 years and 163 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.