diff src/frame-x.c @ 169:15872534500d r20-3b11

Import from CVS: tag r20-3b11
author cvs
date Mon, 13 Aug 2007 09:46:53 +0200
parents 5a88923fcbfe
children 2d532a89d707
line wrap: on
line diff
--- a/src/frame-x.c	Mon Aug 13 09:45:48 2007 +0200
+++ b/src/frame-x.c	Mon Aug 13 09:46:53 2007 +0200
@@ -1104,7 +1104,7 @@
   return Qnil;
 }
 
-void
+static void
 x_cde_transfer_callback (Widget widget, XtPointer clientData,
 			 XtPointer callData)
 {
@@ -2372,7 +2372,7 @@
 {
   XWindowAttributes xwa;
   Widget shell_widget;
-  int viewable;
+  int viewable = 0;
 
   assert (FRAME_X_P (f));
 
@@ -2398,8 +2398,8 @@
 			    &xwa))
     /* JV: it is bad to change the visibility like this, so we don't for the
        moment, at least change_frame_visibility should be called
-       Note also that under fvwm a frame can me Viewable (and thus Mapped)
-       but still X-invisible 
+       Note also that under fvwm a frame can be Viewable (and thus Mapped)
+       but still X-invisible
     f->visible = xwa.map_state == IsViewable; */
     viewable = xwa.map_state == IsViewable;