[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#24091: 24.5; High CPU usage at startup while hidden
From: |
Ken Raeburn |
Subject: |
bug#24091: 24.5; High CPU usage at startup while hidden |
Date: |
Fri, 20 Jan 2017 00:16:24 -0500 |
On Jan 17, 2017, at 21:21, npostavs@users.sourceforge.net wrote:
>
> Do we know about any operations that require the frame be visible? What
> happens when they're run with an invisible frame? Error? Corrupted
> display? Hang?
If drawing is done to an unmapped window, the X server can discard the data,
but once the window is made visible, we should get an Expose event which would
cause us to repaint the window. The size and position of the window could be
set by the window manager, and dropping the loop may mean we get to run a
little more code than we used to before we get notified of the changes. But
these are things we have to deal with anyway, not just at window creation. If
we’re doing it right, AFAIK, we should be okay….
Ken
- bug#24091: 24.5; High CPU usage at startup while hidden, Dominik Schrempf, 2017/01/13
- bug#24091: 24.5; High CPU usage at startup while hidden, npostavs, 2017/01/13
- bug#24091: 24.5; High CPU usage at startup while hidden, Eli Zaretskii, 2017/01/14
- bug#24091: 24.5; High CPU usage at startup while hidden, Ken Raeburn, 2017/01/16
- bug#24091: 24.5; High CPU usage at startup while hidden, Eli Zaretskii, 2017/01/16
- bug#24091: 24.5; High CPU usage at startup while hidden, npostavs, 2017/01/17
- bug#24091: 24.5; High CPU usage at startup while hidden,
Ken Raeburn <=
- bug#24091: 24.5; High CPU usage at startup while hidden, npostavs, 2017/01/20
- bug#24091: 24.5; High CPU usage at startup while hidden, Dominik Schrempf, 2017/01/23