xemacs -q
C-x 2
(shrink-window-pixels 2)
(window-pixel-height)
(redraw-frame)
(window-pixel-height) => different value
in the debugger, in a different example, I see that frame toolbar
update is now resizinf the frame which is resizing each window to an
integer multiple of default face height. No time to look into this
now (last Seinfeld calls), can whoever made these changes please look
into it?
thanks,
greg
(gdb) where
#0 set_window_pixsize (window=547440640, new_pixsize=812, nodelete=0, set_height=1) at
window.c:2840
#1 0x132024 in set_window_pixheight (window=547440640, new_pixheight=812, nodelete=0) at
window.c:2962
#2 0xb9d20 in change_frame_size_1 (f=0x2f5200, newheight=59, newwidth=100) at
frame.c:2892
#3 0xba320 in change_frame_size (f=0x2f5200, newheight=59, newwidth=100, delay=0) at
frame.c:2968
#4 0x7fb7c in update_frame_toolbars (f=0x2f5200) at toolbar.c:788
#5 0xeb344 in redisplay_frame (f=0x2f5200, preemption_check=0) at redisplay.c:5376
#6 0xeb57c in redisplay_device (d=0x2c3c00) at redisplay.c:5498
#7 0xeb918 in redisplay_without_hooks () at redisplay.c:5614
#8 0xebb14 in redisplay () at redisplay.c:5682
#9 0x92128 in Fnext_event (event=546277380, prompt=-1607946236) at event-stream.c:2235
#10 0x5631c in Fcommand_loop_1 () at cmdloop.c:570
#11 0x5613c in command_loop_1 (dummy=-1607946236) at cmdloop.c:494
#12 0x6e364 in condition_case_1 (handlers=-1607946140, bfun=0x56118
<command_loop_1>, barg=-1607946236, hfun=0x55a64 <cmd_error>,
harg=-1607946236) at eval.c:1653
#13 0x55b78 in command_loop_3 () at cmdloop.c:256
#14 0x55ba0 in command_loop_2 (dummy=-1607946236) at cmdloop.c:267
#15 0x6e000 in internal_catch (tag=-1607868564, func=0x55b94 <command_loop_2>,
arg=-1607946236, threw=0x0) at eval.c:1328
#16 0x55da8 in initial_command_loop (load_me=351124) at cmdloop.c:305
#17 0x6afe4 in xemacs_21_0_b40_sparc_sun_solaris2_5_1 (argc=1, argv=0xeffff60c,
envp=0xeffff614, restart=2452552) at emacs.c:1680
#18 0x6b710 in main (argc=1, argv=0xeffff60c, envp=0xeffff614) at emacs.c:2097
Show replies by date
Some time ago, Greg Klanderman wrote...
|+
| xemacs -q
|
| C-x 2
| (shrink-window-pixels 2)
| (window-pixel-height)
| (redraw-frame)
| (window-pixel-height) => different value
|
| in the debugger, in a different example, I see that frame toolbar
| update is now resizinf the frame which is resizing each window to an
| integer multiple of default face height. No time to look into this
| now (last Seinfeld calls), can whoever made these changes please look
| into it?
|-
Ok, it was me. The problem happens becuase I added check of f->clear
flag, without which redraw-frame did not repaint toolbars, should
they become garbaged. Removing f->clear is not a correct fix anyways.
I'll repair it tomorrow.
Kirill