[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#24091: 24.5; High CPU usage at startup while hidden
From: |
Eli Zaretskii |
Subject: |
bug#24091: 24.5; High CPU usage at startup while hidden |
Date: |
Sat, 03 Sep 2016 20:45:32 +0300 |
> From: Noam Postavsky <npostavs@users.sourceforge.net>
> Date: Sat, 3 Sep 2016 13:29:39 -0400
> Cc: 24091@debbugs.gnu.org, Aiken <acairncross@gmail.com>,
> Clément Pit--Claudel <clement.pit@gmail.com>
>
> >> > I'd start by finding out why FRAME_ICONIFIED_P returns false.
> >>
> >> Well, it seems that's because Emacs never receives an UnmapNotify event.
> >> But that doesn't feel like I'm getting any closer to a solution...
> >
> > What events does Emacs get in that case?
>
> Emacs is getting PropertyNotify, ConfigureNotify, MapNotify, and
> ReparentNotify events.
Does it work to turn this:
if (FRAME_ICONIFIED_P (f) && ++tries > 100)
break;
into this:
if ((FRAME_ICONIFIED_P (f) || FRAME_VISIBLE_P (f)) && ++tries > 100)
break;
- bug#24091: 24.5; High CPU usage at startup while hidden, Noam Postavsky, 2016/09/03
- bug#24091: 24.5; High CPU usage at startup while hidden,
Eli Zaretskii <=
- bug#24091: 24.5; High CPU usage at startup while hidden, Noam Postavsky, 2016/09/03
- bug#24091: 24.5; High CPU usage at startup while hidden, martin rudalics, 2016/09/04
- bug#24091: 24.5; High CPU usage at startup while hidden, Noam Postavsky, 2016/09/04
- bug#24091: 24.5; High CPU usage at startup while hidden, martin rudalics, 2016/09/04
- bug#24091: 24.5; High CPU usage at startup while hidden, Noam Postavsky, 2016/09/04
- bug#24091: 24.5; High CPU usage at startup while hidden, martin rudalics, 2016/09/04