bug-gnu-emacs
[Top][All Lists]
Advanced

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

bug#18722: Correction


From: Stefan Monnier
Subject: bug#18722: Correction
Date: Thu, 16 Oct 2014 20:53:43 -0400
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.4.50 (gnu/linux)

> For those who are not using git, it was this commit:
> https://lists.gnu.org/archive/html/emacs-diffs/2014-09/msg00085.html

Hmm... kind of hard to imagine how that could have such an effect.
OTOH the next commit after this one looks like a possible candidate:

    === modified file 'src/ChangeLog'
    --- src/ChangeLog       2014-09-10 16:52:50 +0000
    +++ src/ChangeLog       2014-09-10 17:02:42 +0000
    @@ -1,3 +1,8 @@
    +2014-09-10  Jan Djärv  <jan.h.d@swipnet.se>
    +
    +       * xterm.c (handle_one_xevent): Detect iconified by looking at
    +       _NET_WM_STATE_HIDDEN.
    +
     2014-09-10  Paul Eggert  <eggert@cs.ucla.edu>
     
            * lisp.h (DEFINE_GDB_SYMBOL_ENUM): Remove.
    
    === modified file 'src/xterm.c'
    --- src/xterm.c 2014-09-09 03:22:36 +0000
    +++ src/xterm.c 2014-09-10 17:02:42 +0000
    @@ -6860,6 +6860,14 @@
                 inev.ie.kind = DEICONIFY_EVENT;
                 XSETFRAME (inev.ie.frame_or_window, f);
               }
    +        else if (! FRAME_ICONIFIED_P (f)
    +                 && f->output_data.x->net_wm_state_hidden_seen)
    +          {
    +            SET_FRAME_VISIBLE (f, 0);
    +            SET_FRAME_ICONIFIED (f, 1);
    +            inev.ie.kind = ICONIFY_EVENT;
    +            XSETFRAME (inev.ie.frame_or_window, f);
    +          }
     
           x_handle_property_notify (&event->xproperty);
           xft_settings_event (dpyinfo, event);

Can you try the patch below (applied to the latest trunk code) to see if
your problem is really triggered by this commit?


        Stefan


=== modified file 'src/xterm.c'
--- src/xterm.c 2014-10-12 06:09:50 +0000
+++ src/xterm.c 2014-10-17 00:51:47 +0000
@@ -6864,14 +6864,6 @@
              inev.ie.kind = DEICONIFY_EVENT;
              XSETFRAME (inev.ie.frame_or_window, f);
            }
-         else if (! FRAME_ICONIFIED_P (f)
-                  && f->output_data.x->net_wm_state_hidden_seen)
-           {
-             SET_FRAME_VISIBLE (f, 0);
-             SET_FRAME_ICONIFIED (f, 1);
-             inev.ie.kind = ICONIFY_EVENT;
-             XSETFRAME (inev.ie.frame_or_window, f);
-           }
        }
 
       x_handle_property_notify (&event->xproperty);






reply via email to

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