[mutter] frames: Remove last_motion_frame
- From: Jasper St. Pierre <jstpierre src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [mutter] frames: Remove last_motion_frame
- Date: Thu, 1 Jan 2015 06:48:18 +0000 (UTC)
commit a5ad89dd65b10e737d3f659a557d3e29393fc1d0
Author: Jasper St. Pierre <jstpierre mecheye net>
Date: Wed Dec 31 22:46:48 2014 -0800
frames: Remove last_motion_frame
Nothing cares about it.
src/ui/frames.c | 5 -----
src/ui/frames.h | 1 -
2 files changed, 0 insertions(+), 6 deletions(-)
---
diff --git a/src/ui/frames.c b/src/ui/frames.c
index 32f172b..8f64b1b 100644
--- a/src/ui/frames.c
+++ b/src/ui/frames.c
@@ -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)
diff --git a/src/ui/frames.h b/src/ui/frames.h
index fda2297..66c72a0 100644
--- a/src/ui/frames.h
+++ b/src/ui/frames.h
@@ -96,7 +96,6 @@ struct _MetaFrames
GHashTable *text_heights;
GHashTable *frames;
- MetaUIFrame *last_motion_frame;
MetaStyleInfo *normal_style;
GHashTable *style_variants;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]