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);
|
||||
|
||||
if (frames->last_motion_frame == frame)
|
||||
frames->last_motion_frame = NULL;
|
||||
|
||||
g_hash_table_remove (frames->frames, &frame->xwindow);
|
||||
|
||||
meta_style_info_unref (frame->style_info);
|
||||
@ -1389,8 +1386,6 @@ meta_frames_motion_notify_event (GtkWidget *widget,
|
||||
if (frame == NULL)
|
||||
return FALSE;
|
||||
|
||||
frames->last_motion_frame = frame;
|
||||
|
||||
control = get_control (frame, event->x, event->y);
|
||||
|
||||
if (frame->button_state == META_BUTTON_STATE_PRESSED)
|
||||
|
@ -96,7 +96,6 @@ struct _MetaFrames
|
||||
GHashTable *text_heights;
|
||||
|
||||
GHashTable *frames;
|
||||
MetaUIFrame *last_motion_frame;
|
||||
|
||||
MetaStyleInfo *normal_style;
|
||||
GHashTable *style_variants;
|
||||
|
Loading…
Reference in New Issue
Block a user