summaryrefslogtreecommitdiff
path: root/src/iconcache.c
Commit message (Collapse)AuthorAgeFilesLines
* init prev_mask fieldHavoc Pennington2003-11-241-0/+1
| | | | | | | | | 2003-11-24 Havoc Pennington <hp@redhat.com> * src/iconcache.c (meta_icon_cache_init): init prev_mask field * src/window.c (meta_window_new_with_attrs): init xgroup_leader prior to use
* include config.hHavoc Pennington2002-10-271-0/+1
| | | | | | | | | | | | | | | | | 2002-10-26 Havoc Pennington <hp@pobox.com> * src/iconcache.c: include config.h * src/group.c: include config.h * src/frame.c: include config.h * src/core.c: include config.h so it doesn't crash all over the place due to #ifdef HAVE_STARTUP_NOTIFICATION * src/util.c (meta_print_backtrace): export from this file * src/main.c (log_handler): print backtrace here
* Optimizations for managing new windows (do not all take effect ifHavoc Pennington2002-10-211-5/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | 2002-10-21 Havoc Pennington <hp@redhat.com> Optimizations for managing new windows (do not all take effect if METACITY_DEBUG=1). Bug #96404 * src/keybindings.c (meta_change_keygrab): use error trap nesting and conditionalize on meta_is_verbose() to avoid a ton of XSync * src/display.c (meta_change_button_grab): ditto Throughout: move to new error trap setup to save on XSync calls, new setup is: * src/errors.c (meta_error_trap_push_with_return): new function, an error trap that needs to care about return value and thus sync even if an outer trap still exists (meta_error_trap_pop_with_return): new function (meta_error_trap_pop): add "last_request_was_roundtrip" argument allowing us to avoid XSync() if we just did a GetProperty or whatever. * src/util.c (meta_warning): flush the warning file descriptor * src/Makefile.am (INCLUDES): define G_LOG_DOMAIN
* Add padding if icon width and height differ.Anders Carlsson2002-04-211-0/+21
| | | | | | | 2002-04-21 Anders Carlsson <andersca@gnu.org> * src/iconcache.c (scaled_from_pixdata): Add padding if icon width and height differ.
* port to icon cacheHavoc Pennington2002-02-091-0/+836
2002-02-09 Havoc Pennington <hp@pobox.com> * src/window.c (update_icon): port to icon cache * src/iconcache.c, src/iconcache.c: begin process of cleaning up window.c by moving the icon-reading code in here, based on the code in libwnck, which was in turn based on the earlier metacity code