Commit 5ec86886 authored by Jan Djärv's avatar Jan Djärv
Browse files

* xterm.c (x_focus_changed): Check if daemonp when sending focus in

event.

Fixes: debbugs:12681
parent 791ef5f8
2012-10-21 Jan Djärv <jan.h.d@swipnet.se>
* xterm.c (x_focus_changed): Check if daemonp when sending focus in
event (Bug#12681).
2012-10-21 Glenn Morris <rgm@gnu.org>
 
* lisp.mk (lisp): Add cp51932.el and eucjp-ms.el.
......
......@@ -3448,7 +3448,8 @@ x_focus_changed (int type, int state, struct x_display_info *dpyinfo, struct fra
/* Don't stop displaying the initial startup message
for a switch-frame event we don't need. */
if (NILP (Vterminal_frame)
/* When run as a deamon, Vterminal_frame is always NIL. */
if ((NILP (Vterminal_frame) || EQ (Fdaemonp(), Qt))
&& CONSP (Vframe_list)
&& !NILP (XCDR (Vframe_list)))
{
......
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