mirror of
https://github.com/brl/mutter.git
synced 2024-11-25 09:30:45 -05:00
add the moveresize idle at META_PRIORITY_RESIZE so it runs before GTK does
2003-09-30 Havoc Pennington <hp@redhat.com> * src/window.c (meta_window_queue_move_resize): add the moveresize idle at META_PRIORITY_RESIZE so it runs before GTK does any drawing, may fix bug #109211 (seem to for me) * src/ui.h (META_PRIORITY_RESIZE): add this between GTK resize/redraw priorities * src/display.c (meta_display_queue_retheme_all_windows): remove some debug spew from meta_warning
This commit is contained in:
parent
5fdb8ab7d6
commit
199d20197e
12
ChangeLog
12
ChangeLog
@ -1,3 +1,15 @@
|
|||||||
|
2003-09-30 Havoc Pennington <hp@redhat.com>
|
||||||
|
|
||||||
|
* src/window.c (meta_window_queue_move_resize): add the moveresize
|
||||||
|
idle at META_PRIORITY_RESIZE so it runs before GTK does any
|
||||||
|
drawing, may fix bug #109211 (seem to for me)
|
||||||
|
|
||||||
|
* src/ui.h (META_PRIORITY_RESIZE): add this between GTK
|
||||||
|
resize/redraw priorities
|
||||||
|
|
||||||
|
* src/display.c (meta_display_queue_retheme_all_windows): remove
|
||||||
|
some debug spew from meta_warning
|
||||||
|
|
||||||
2003-09-30 Havoc Pennington <hp@redhat.com>
|
2003-09-30 Havoc Pennington <hp@redhat.com>
|
||||||
|
|
||||||
* src/testasyncgetprop.c: remove nonstandard header include,
|
* src/testasyncgetprop.c: remove nonstandard header include,
|
||||||
|
@ -3237,7 +3237,6 @@ meta_display_queue_retheme_all_windows (MetaDisplay *display)
|
|||||||
{
|
{
|
||||||
MetaWindow *window = tmp->data;
|
MetaWindow *window = tmp->data;
|
||||||
|
|
||||||
meta_warning("from retheme\n");
|
|
||||||
meta_window_queue_move_resize (window);
|
meta_window_queue_move_resize (window);
|
||||||
if (window->frame)
|
if (window->frame)
|
||||||
{
|
{
|
||||||
|
3
src/ui.h
3
src/ui.h
@ -29,6 +29,9 @@
|
|||||||
#include <glib.h>
|
#include <glib.h>
|
||||||
#include <gdk-pixbuf/gdk-pixbuf.h>
|
#include <gdk-pixbuf/gdk-pixbuf.h>
|
||||||
|
|
||||||
|
/* This is between GTK_PRIORITY_RESIZE and GTK_PRIORITY_REDRAW */
|
||||||
|
#define META_PRIORITY_RESIZE (G_PRIORITY_HIGH_IDLE + 15)
|
||||||
|
|
||||||
typedef struct _MetaUI MetaUI;
|
typedef struct _MetaUI MetaUI;
|
||||||
|
|
||||||
typedef struct _MetaImageWindow MetaImageWindow;
|
typedef struct _MetaImageWindow MetaImageWindow;
|
||||||
|
@ -2882,7 +2882,8 @@ meta_window_queue_move_resize (MetaWindow *window)
|
|||||||
window->move_resize_queued = TRUE;
|
window->move_resize_queued = TRUE;
|
||||||
|
|
||||||
if (move_resize_idle == 0)
|
if (move_resize_idle == 0)
|
||||||
move_resize_idle = g_idle_add (idle_move_resize, NULL);
|
move_resize_idle = g_idle_add_full (META_PRIORITY_RESIZE,
|
||||||
|
idle_move_resize, NULL, NULL);
|
||||||
|
|
||||||
move_resize_pending = g_slist_prepend (move_resize_pending, window);
|
move_resize_pending = g_slist_prepend (move_resize_pending, window);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user