mirror of
https://github.com/brl/mutter.git
synced 2025-02-25 01:04:10 +00:00
frames: Remove last_motion_frame
Nothing cares about it.
This commit is contained in:
parent
4a4d724e59
commit
a5ad89dd65
@ -557,9 +557,6 @@ meta_ui_frame_unmanage (MetaUIFrame *frame)
|
|||||||
|
|
||||||
gdk_window_set_user_data (frame->window, NULL);
|
gdk_window_set_user_data (frame->window, NULL);
|
||||||
|
|
||||||
if (frames->last_motion_frame == frame)
|
|
||||||
frames->last_motion_frame = NULL;
|
|
||||||
|
|
||||||
g_hash_table_remove (frames->frames, &frame->xwindow);
|
g_hash_table_remove (frames->frames, &frame->xwindow);
|
||||||
|
|
||||||
meta_style_info_unref (frame->style_info);
|
meta_style_info_unref (frame->style_info);
|
||||||
@ -1389,8 +1386,6 @@ meta_frames_motion_notify_event (GtkWidget *widget,
|
|||||||
if (frame == NULL)
|
if (frame == NULL)
|
||||||
return FALSE;
|
return FALSE;
|
||||||
|
|
||||||
frames->last_motion_frame = frame;
|
|
||||||
|
|
||||||
control = get_control (frame, event->x, event->y);
|
control = get_control (frame, event->x, event->y);
|
||||||
|
|
||||||
if (frame->button_state == META_BUTTON_STATE_PRESSED)
|
if (frame->button_state == META_BUTTON_STATE_PRESSED)
|
||||||
|
@ -96,7 +96,6 @@ struct _MetaFrames
|
|||||||
GHashTable *text_heights;
|
GHashTable *text_heights;
|
||||||
|
|
||||||
GHashTable *frames;
|
GHashTable *frames;
|
||||||
MetaUIFrame *last_motion_frame;
|
|
||||||
|
|
||||||
MetaStyleInfo *normal_style;
|
MetaStyleInfo *normal_style;
|
||||||
GHashTable *style_variants;
|
GHashTable *style_variants;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user