aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorJason Rumney2008-07-18 08:59:50 +0000
committerJason Rumney2008-07-18 08:59:50 +0000
commit2165e881272884e2075052e4e99c26f8e786f83a (patch)
tree25020fe22954808d1e90fda469764a6cd5194660 /src
parent955cd0bbbcb4379c4648ba4f1a086476567817b9 (diff)
downloademacs-2165e881272884e2075052e4e99c26f8e786f83a.tar.gz
emacs-2165e881272884e2075052e4e99c26f8e786f83a.zip
Backport of long term bug from trunk:
2008-07-18 David Robinow <drobinow@gmail.com> (tiny change) * w32inevt.c: Include dispextern.h. Don't declare change_frame_size here. (maybe_generate_resize_event, resize_event): Call change_frame_size with SAFE arg.
Diffstat (limited to 'src')
-rw-r--r--src/ChangeLog7
-rw-r--r--src/w32inevt.c8
2 files changed, 10 insertions, 5 deletions
diff --git a/src/ChangeLog b/src/ChangeLog
index e1c93051548..5604f8080d0 100644
--- a/src/ChangeLog
+++ b/src/ChangeLog
@@ -1,3 +1,10 @@
12008-07-18 David Robinow <drobinow@gmail.com> (tiny change)
2
3 * w32inevt.c: Include dispextern.h. Don't declare change_frame_size
4 here.
5 (maybe_generate_resize_event, resize_event): Call change_frame_size
6 with SAFE arg.
7
12008-07-17 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> 82008-07-17 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
2 9
3 * gtkutil.c: Include <config.h> instead of "config.h". 10 * gtkutil.c: Include <config.h> instead of "config.h".
diff --git a/src/w32inevt.c b/src/w32inevt.c
index 0eb73964aae..6f0401c9561 100644
--- a/src/w32inevt.c
+++ b/src/w32inevt.c
@@ -39,6 +39,7 @@ Boston, MA 02110-1301, USA.
39#include "lisp.h" 39#include "lisp.h"
40#include "keyboard.h" 40#include "keyboard.h"
41#include "frame.h" 41#include "frame.h"
42#include "dispextern.h"
42#include "blockinput.h" 43#include "blockinput.h"
43#include "termhooks.h" 44#include "termhooks.h"
44#include "w32heap.h" 45#include "w32heap.h"
@@ -54,9 +55,6 @@ static DWORD movement_time;
54/* from keyboard.c */ 55/* from keyboard.c */
55extern void reinvoke_input_signal (void); 56extern void reinvoke_input_signal (void);
56 57
57/* from dispnew.c */
58extern int change_frame_size (FRAME_PTR, int, int, int, int);
59
60/* from w32console.c */ 58/* from w32console.c */
61extern int w32_use_full_screen_buffer; 59extern int w32_use_full_screen_buffer;
62 60
@@ -622,7 +620,7 @@ resize_event (WINDOW_BUFFER_SIZE_RECORD *event)
622{ 620{
623 FRAME_PTR f = get_frame (); 621 FRAME_PTR f = get_frame ();
624 622
625 change_frame_size (f, event->dwSize.Y, event->dwSize.X, 0, 1); 623 change_frame_size (f, event->dwSize.Y, event->dwSize.X, 0, 1, 0);
626 SET_FRAME_GARBAGED (f); 624 SET_FRAME_GARBAGED (f);
627} 625}
628 626
@@ -639,7 +637,7 @@ maybe_generate_resize_event ()
639 change_frame_size (f, 637 change_frame_size (f,
640 1 + info.srWindow.Bottom - info.srWindow.Top, 638 1 + info.srWindow.Bottom - info.srWindow.Top,
641 1 + info.srWindow.Right - info.srWindow.Left, 639 1 + info.srWindow.Right - info.srWindow.Left,
642 0, 0); 640 0, 0, 0);
643} 641}
644 642
645int 643int