GDI Resources leak on win32
2004-11-01 07:21:19 GMT
I'm using GNU Emacs 21.3.50.1 (i386-msvc-nt5.0.2195) of 2004-11-01 on IGREK configured using `configure --with-msvc (12.00)' Sources are downloaded from http://sourceforge.net/projects/nqmacs Emacs running in win32 environment constantly eats GDI resources. I've investigated this problem and found that there are some windows regions that need to be deleted: ====================[ win32term.diff ]========================= --- w32term_old.c Wed May 19 11:31:20 2004 +++ w32term.c Mon Nov 01 09:31:30 2004 <at> <at> -2753,9 +2753,12 <at> <at> /* If the dirty region is not what we expected, redraw the entire frame. */ if (!EqualRgn (combined, expect_dirty)) SET_FRAME_GARBAGED (f); + DeleteObject (dirty); + DeleteObject (combined); } UNBLOCK_INPUT; + DeleteObject (expect_dirty); } ====================[ win32term.diff ]========================= PS: Sorry for worse english. Andy(Continue reading)

RSS Feed