Commit f99bac93 authored by Dmitry Antipov's avatar Dmitry Antipov

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 <bzg@gnu.org>.
parent 8c2a0f2d
2012-08-06 Dmitry Antipov <dmantipov@yandex.ru>
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 <bzg@gnu.org>.
2012-08-06 Glenn Morris <rgm@gnu.org>
* lisp.mk (lisp): Add language/persian.elc.
......
......@@ -1841,7 +1841,7 @@ replace_window (Lisp_Object old, Lisp_Object new, int setflag)
/* 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)
{
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment