[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#1348: set-frame-width and set-frame-position seem buggy on at least
From: |
Eli Zaretskii |
Subject: |
bug#1348: set-frame-width and set-frame-position seem buggy on at least MSWindows |
Date: |
Fri, 05 Dec 2008 08:20:04 +0200 |
> Date: Fri, 05 Dec 2008 00:24:40 +0100
> From: grischka <grishka@gmx.de>
> Cc: 1348@emacsbugs.donarmstrong.com, jasonr@f2s.com
>
> if (XINT (lines) != FRAME_LINES (f))
> x_set_window_size (f, 1, FRAME_COLS (f), XINT (lines));
>
> Basically if the window has 20 lines on enter-freeze, then our
> thing wouldn't even start, because between "sleep-for" and
> "set-frame-height" there is nothing to read the WM_SIZE messages
> from the mouse-dragging.
>
> Works for me if I disable this line:
> // if (XINT (lines) ...
>
> It is a natural problem which happens only too often with
> such "micro-optimizations".
This is not a "micro-optimization". Emacs deliberately avoids
unnecessary calls to display routines, because frequent redisplay that
doesn't really change anything causes flickering that is quite
annoying. Therefore, your "solution" is wrong.
- bug#1348: set-frame-width and set-frame-position seem buggy on at least MSWindows, (continued)
- bug#1348: set-frame-width and set-frame-position seem buggy on at least MSWindows, grischka, 2008/12/02
- bug#1348: set-frame-width and set-frame-position seem buggy on at least MSWindows, martin rudalics, 2008/12/03
- bug#1348: set-frame-width and set-frame-position seem buggy on at least MSWindows, grischka, 2008/12/03
- bug#1348: set-frame-width and set-frame-position seem buggy on at least MSWindows, Stefan Monnier, 2008/12/03
- bug#1348: set-frame-width and set-frame-position seem buggy on at least MSWindows, martin rudalics, 2008/12/04
- bug#1348: set-frame-width and set-frame-position seem buggy on at least MSWindows, grischka, 2008/12/04
- bug#1348: set-frame-width and set-frame-position seem buggy on at least MSWindows,
Eli Zaretskii <=
- bug#1348: set-frame-width and set-frame-position seem buggy on at least MSWindows, Stefan Monnier, 2008/12/05