Skip to content
  • Thomas Thurman's avatar
    Refactor thrice-duplicated queue code in window.c. Closes #376760. · 8f2b9cb4
    Thomas Thurman authored
    2007-06-10  Thomas Thurman  <thomas@thurman.org.uk>
    
            Refactor thrice-duplicated queue code in window.c. Closes #376760.
    
            * src/window.c (meta_window_queue, meta_window_unqueue):
            New functions.
            * src/window.[ch] (meta_window_unqueue_*, meta_window_queue_*):
            Removed functions.
            * src/window.c (meta_window_new_with_attrs, meta_window_free,
            meta_window_flush_calc_showing, queue_calc_showing_func,
            meta_window_minimize, meta_window_unminimize, meta_window_maximize,
            meta_window_make_fullscreen, meta_window_shade,
            meta_window_unshade, meta_window_move_resize_internal,
            window_stick_impl, window_unstick_impl,
            meta_window_client_message, process_property_notify): Modified to
            use new queueing functions.
            * src/window.c (idle_move_resize, idle_update_icon,
            idle_calc_showing): update to receive queue number from pointer.
            * src/wi...
    8f2b9cb4