2005-06-27 Elijah Newren * NEWS: 2.10.2 release Sun Jun 26 11:19:18 2005 Soeren Sandmann * src/frames.c: Add a cache of pixmaps for recently exposed frame areas. Makes metacity a bit faster when dragging windows around. See bug 141813. 2005-06-10 Ryan Lortie * src/frames.c: Prevent using the address of a local variable as a hash key. (Bug #307209) * src/xprops.c (meta_prop_get_values): Fix a small leak in the case of a SYNC_COUNTER property value and HAVE_XSYNC not defined. (Bug #307214) 2005-06-07 Ray Strode Cleanup font data when done with it (bug 306720). * src/effects.c (draw_xor_rect): free font info structure. * src/screen.c (meta_screen_new): pass a 1 not a 0 to XFreeFontInfo to free font info structure. (meta_screen_free): call XUnloadFont on GC font before freeing the GC. 2005-06-02 Elijah Newren * src/window.c (meta_window_focus): if the window has a modal transient which is being unmanaged, don't focus it. Fixes the Metacity issue reported in #305362. 2005-05-30 Ray Strode Bug 305564 again. When drawing XOR resize popup use "fixed" font instead of -misc-fixed-*-16-* xlfd. Should work on more xservers. Also take steps to fail better if the xserver isn't cooperating. * src/effects.c (draw_xor_rect): if we can't draw font box for whatever reason, at least draw grid frames. * src/screen.c (meta_screen_new): use fixed alias instead of a xfld. Don't pass GCFont to XCreateGC if font couldn't be loaded. Print a warning if font couldn't be loaded. 2005-05-26 Elijah Newren * HACKING: Add a clarification that METACITY_VERBOSE needs to be accompanied by METACITY_USE_LOGFILE 2005-05-26 Elijah Newren * src/window.c (meta_window_configure_request): Patch from Greg Hudson to make sure window position is calculated correctly for reconfigure requests when part of the XWindowChanges structure is uninitialized. Fixes #305257. 2005-05-26 Ray Strode Actually commit the stuff mentioned in the last ChangeLog entry. 2005-05-26 Ray Strode Add a resize popup when resizing constrained windows, (bug 305564). * src/display.c: (meta_display_begin_grab_op), (meta_display_end_grab_op): * src/keybindings.c (process_keyboard_move_grab), (process_keyboard_resize_grab): Call meta_window_{begin,update,end}_wireframe convenience functions instead of the meta_effects counterparts. * src/display.h: keep track of old wireframe geometry to clean up xor popup on resize * src/effects.[ch] (meta_effects_begin_wireframe), (meta_effects_update_wireframe), (meta_effects_end_wireframe), (draw_xor_rect): take optional width and height arguments to show to user in resize popup. Draw resize popup if width and height >= 0 and wireframe isn't smaller than the popup would be. * src/screen.c (meta_screen_new): load a largish font for the resize popup * src/window.[ch] (meta_window_move_resize_internal): update wireframe resize popup when the window is resized. (meta_window_get_wireframe_geometry): new function to calculate the numbers to display in resize popup (meta_window_begin_wireframe), (meta_window_update_wireframe), (meta_window_end_wireframe): new functions to reduce repetitive wireframe code. Functions handle updating wireframe and resize popup geometry. (update_move), (update_resize), (meta_window_refresh_resize_popup): remove fixme and add debug message. 2005-05-26 Elijah Newren * src/window.c (check_maximize_to_work_area): don't accidentally treat maximize vertically as maximize in both directions. Fixes #302204. 2005-05-26 Elijah Newren * src/window.c (meta_window_new_with_attrs): put all transients of the new window, if any exist, in the calc_showing queue. Fixes #303284. Thanks to Billy Biggs for the testcase that made this easy to track down. 2005-04-11 Elijah Newren * configure.in: post-release version bump to 2.10.2