[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Emacs-diffs] Changes to emacs/src/xmenu.c,v [EMACS_22_BASE]
From: |
Jan Djärv |
Subject: |
[Emacs-diffs] Changes to emacs/src/xmenu.c,v [EMACS_22_BASE] |
Date: |
Fri, 27 Apr 2007 06:39:16 +0000 |
CVSROOT: /cvsroot/emacs
Module name: emacs
Branch: EMACS_22_BASE
Changes by: Jan Djärv <jhd> 07/04/27 06:39:15
Index: xmenu.c
===================================================================
RCS file: /cvsroot/emacs/emacs/src/xmenu.c,v
retrieving revision 1.317
retrieving revision 1.317.2.1
diff -u -b -r1.317 -r1.317.2.1
--- xmenu.c 21 Jan 2007 04:18:14 -0000 1.317
+++ xmenu.c 27 Apr 2007 06:39:15 -0000 1.317.2.1
@@ -3333,6 +3333,14 @@
/* No selection has been chosen yet. */
menu_item_selection = 0;
+ /* Force a redisplay before showing the dialog. If a frame is created
+ just before showing the dialog, its contents may not have been fully
+ drawn, as this depends on timing of events from the X server. Redisplay
+ is not done when a dialog is shown. If redisplay could be done in the
+ X event loop (i.e. the X event loop does not run in a signal handler)
+ this would not be needed. */
+ Fredisplay (Qt);
+
/* Actually create and show the dialog. */
create_and_show_dialog (f, first_wv);
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Emacs-diffs] Changes to emacs/src/xmenu.c,v [EMACS_22_BASE],
Jan Djärv <=