]> git.eshelyaron.com Git - emacs.git/commitdiff
(Fx_create_frame): Use XINT to access parent.
authorRichard M. Stallman <rms@gnu.org>
Mon, 2 Jun 1997 02:25:15 +0000 (02:25 +0000)
committerRichard M. Stallman <rms@gnu.org>
Mon, 2 Jun 1997 02:25:15 +0000 (02:25 +0000)
src/xfns.c

index 6b97a7d161565c63d47372338d6c49b2679c94f0..fa837e6a4c026df6d92305dc168d8f08a64f83b9 100644 (file)
@@ -3232,7 +3232,7 @@ This function is an internal primitive--use `make-frame' instead.")
 
   if (!NILP (parent))
     {
-      f->output_data.x->parent_desc = parent;
+      f->output_data.x->parent_desc = (Window) XINT (parent);
       f->output_data.x->explicit_parent = 1;
     }
   else