bug-gnu-emacs
[Top][All Lists]
Advanced

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

bug#117: bug 117: messed up frame parameters


From: grischka
Subject: bug#117: bug 117: messed up frame parameters
Date: Sun, 28 Dec 2008 20:22:13 +0100
User-agent: Thunderbird 2.0.0.18 (X11/20081125)

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 ();

########################################









reply via email to

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