GNU bug report logs -
#1261
23.0.60; diary-insert-entry and mouse-autoselect-window
Previous Next
Full log
View this message in rfc822 format
martin rudalics wrote:
> Would it help to check popup_activated, like
>
> if (WINDOWP (window)
> && !popup_activated ()
> && !EQ (window, last_window)
> && !EQ (window, selected_window)
>
> in handle_one_xevent?
Not exactly like that, but with a tweak it seems to work (see below).
It feels a bit like covering up the real problem (gtk associating
popup with funny window), but I have no better solution; and indeed
one probably does not want to switch windows when popups are active.
I don't use mouse-autoselect-window, so Stephen please could you check
this works ok?
*** xterm.c 4 Nov 2008 16:47:34 -0000 1.1010
--- xterm.c 4 Nov 2008 18:49:39 -0000
***************
*** 6723,6729 ****
{
/* Generate SELECT_WINDOW_EVENTs when needed. */
! if (!NILP (Vmouse_autoselect_window))
{
Lisp_Object window;
--- 6723,6729 ----
{
/* Generate SELECT_WINDOW_EVENTs when needed. */
! if (!NILP (Vmouse_autoselect_window) && !popup_activated ())
{
Lisp_Object window;
This bug report was last modified 16 years and 295 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.