emacs-diffs
[Top][All Lists]
Advanced

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

[Emacs-diffs] /srv/bzr/emacs/trunk r109463: Fix replacement typo.


From: Dmitry Antipov
Subject: [Emacs-diffs] /srv/bzr/emacs/trunk r109463: Fix replacement typo.
Date: Mon, 06 Aug 2012 12:32:49 +0400
User-agent: Bazaar (2.5.0)

------------------------------------------------------------
revno: 109463
committer: Dmitry Antipov <address@hidden>
branch nick: trunk
timestamp: Mon 2012-08-06 12:32:49 +0400
message:
  Fix replacement typo.
  * window.c (replace_window): Set root_window instead of
  selected_window.  This fixes a total window subsystem
  malfunction reported by Bastien Guerry <address@hidden>.
modified:
  src/ChangeLog
  src/window.c
=== modified file 'src/ChangeLog'
--- a/src/ChangeLog     2012-08-06 07:37:26 +0000
+++ b/src/ChangeLog     2012-08-06 08:32:49 +0000
@@ -1,3 +1,10 @@
+2012-08-06  Dmitry Antipov  <address@hidden>
+
+       Fix replacement typo.
+       * window.c (replace_window): Set root_window instead of
+       selected_window.  This fixes a total window subsystem
+       malfunction reported by Bastien Guerry <address@hidden>.
+
 2012-08-06  Glenn Morris  <address@hidden>
 
        * lisp.mk (lisp): Add language/persian.elc.

=== modified file 'src/window.c'
--- a/src/window.c      2012-08-06 05:27:54 +0000
+++ b/src/window.c      2012-08-06 08:32:49 +0000
@@ -1841,7 +1841,7 @@
   /* If OLD is its frame's root window, then NEW is the new
      root window for that frame.  */
   if (EQ (old, FRAME_ROOT_WINDOW (XFRAME (WVAR (o, frame)))))
-    FSET (XFRAME (WVAR (o, frame)), selected_window, new);
+    FSET (XFRAME (WVAR (o, frame)), root_window, new);
 
   if (setflag)
     {


reply via email to

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