From: grischka <grishka@gmx.de>
To: drew.adams@oracle.com
Cc: 117@emacsbugs.donarmstrong.com
Subject: bug#117: bug 117: messed up frame parameters
Date: Sun, 28 Dec 2008 20:22:13 +0100 [thread overview]
Message-ID: <4957D1E5.2010009@gmx.de> (raw)
As to problems with frame sizing/positioning on windows, you can
try the attached patch. It fixes some of them.
See also bug #1348
http://emacsbugs.donarmstrong.com/cgi-bin/bugreport.cgi?bug=1348
Regards.
########################################
--- src/keyboard.c Sun Nov 02 11:46:21 2008
+++ src/keyboard.c Mon Dec 08 03:32:05 2008
@@ -6875,12 +6875,14 @@
int *addr;
int flags;
{
+#ifndef HAVE_NTGUI
/* First of all, have we already counted some input? */
*addr = (!NILP (Vquit_flag) || readable_events (flags));
/* If input is being read as it arrives, and we have none, there is none. */
if (*addr > 0 || (interrupt_input && ! interrupts_deferred))
return;
+#endif
/* Try to read some input and see how much we get. */
gobble_input (0);
@@ -7283,7 +7285,7 @@
void
reinvoke_input_signal ()
{
-#ifdef SIGIO
+#if defined SIGIO || defined HAVE_NTGUI
handle_async_input ();
#endif
}
########################################
########################################
--- src/w32term.c Wed Nov 12 16:51:11 2008
+++ src/w32term.c Mon Dec 08 03:34:23 2008
@@ -4533,7 +4534,7 @@
case SIZE_MAXIMIZED:
case SIZE_RESTORED:
- f->async_visible = 1;
+ f->async_visible = IsWindowVisible(msg.msg.hwnd);
f->async_iconified = 0;
/* wait_reading_process_output will notice this and update
########################################
########################################
--- src/w32xfns.c Fri Jun 27 03:13:38 2008
+++ src/w32xfns.c Sun Dec 07 21:33:07 2008
@@ -268,6 +268,8 @@
lpTail = lpNew;
SetEvent (input_available);
+ PulseEvent (interrupt_handle);
+ interrupt_input_pending = 1;
leave_crit ();
########################################
next reply other threads:[~2008-12-28 19:22 UTC|newest]
Thread overview: 16+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-12-28 19:22 grischka [this message]
2008-12-28 19:27 ` bug#117: bug 117: messed up frame parameters Drew Adams
-- strict thread matches above, loose matches on Subject: below --
2008-12-28 1:32 Chong Yidong
2008-12-28 8:02 ` Drew Adams
2008-12-28 9:00 ` Chong Yidong
2008-12-28 18:15 ` Drew Adams
2008-07-08 15:02 Drew Adams
2008-07-08 20:54 ` Jason Rumney
2008-07-09 15:27 ` Drew Adams
2008-08-02 20:36 ` Drew Adams
2008-08-02 21:07 ` Jason Rumney
2008-08-02 22:08 ` Drew Adams
2008-08-27 16:41 ` Drew Adams
2008-08-28 15:04 ` Drew Adams
2008-08-30 14:38 ` Drew Adams
2008-10-31 21:05 ` Drew Adams
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=4957D1E5.2010009@gmx.de \
--to=grishka@gmx.de \
--cc=117@emacsbugs.donarmstrong.com \
--cc=drew.adams@oracle.com \
/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.