From: Juanma Barranquero <lekktu@gmail.com>
To: martin rudalics <rudalics@gmx.at>
Cc: 14949@debbugs.gnu.org
Subject: bug#14949: Snapped window acts like a fullscreen one (Windows 7)
Date: Sun, 5 Jan 2014 19:11:12 +0100 [thread overview]
Message-ID: <CAAeL0SRZ+YmL7W_k7oLAE5buL5Kc9QYOwiAFE4O4+9akj8Lpbw@mail.gmail.com> (raw)
In-Reply-To: <52C99DB4.4040501@gmx.at>
On Sun, Jan 5, 2014 at 7:00 PM, martin rudalics <rudalics@gmx.at> wrote:
> Can you understand the mystery?
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?
J
next prev parent reply other threads:[~2014-01-05 18:11 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-07-25 0:07 bug#14949: Snapped window acts like a fullscreen one (Windows 7) Juanma Barranquero
2014-01-04 15:42 ` martin rudalics
2014-01-04 20:47 ` Juanma Barranquero
2014-01-05 10:37 ` martin rudalics
2014-01-05 17:15 ` Juanma Barranquero
2014-01-05 18:00 ` martin rudalics
2014-01-05 18:11 ` Juanma Barranquero [this message]
2014-01-05 18:39 ` martin rudalics
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=CAAeL0SRZ+YmL7W_k7oLAE5buL5Kc9QYOwiAFE4O4+9akj8Lpbw@mail.gmail.com \
--to=lekktu@gmail.com \
--cc=14949@debbugs.gnu.org \
--cc=rudalics@gmx.at \
/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.