From a5126ee115af09196e31e35b6b0c894da83a0104 Mon Sep 17 00:00:00 2001 From: Thomas Thurman Date: Fri, 10 Jul 2009 07:57:09 -0400 Subject: remove MetaMatching struct --- src/core/matching.c | 3 +-- src/core/matching.h | 30 +----------------------------- 2 files changed, 2 insertions(+), 31 deletions(-) diff --git a/src/core/matching.c b/src/core/matching.c index 56eaec87..0e79aff3 100644 --- a/src/core/matching.c +++ b/src/core/matching.c @@ -41,13 +41,12 @@ load_matching_data (void) /* FIXME: would be helpful to add a leading comment */ } -MetaMatching* +void meta_matching_load_from_role (MetaWindow *window, gchar *role) { load_matching_data (); /* stub */ - return NULL; } void diff --git a/src/core/matching.h b/src/core/matching.h index 730c4b17..74bc45d9 100644 --- a/src/core/matching.h +++ b/src/core/matching.h @@ -27,36 +27,8 @@ #include "common.h" #include "window.h" -/** - * Represents the position of a given window on a display. - */ -typedef struct -{ - gint x; - gint y; - guint width; - guint height; - guint workspace; - /* XXX should we store gravity? */ - /* FIXME: also: - - guint on_all_workspaces : 1; - guint minimized : 1; - guint maximized : 1; - - guint stack_position_set : 1; - guint geometry_set : 1; - guint on_all_workspaces_set : 1; - guint minimized_set : 1; - guint maximized_set : 1; - guint saved_rect_set : 1; - */ - - -} MetaMatching; - /* XXX rename to meta_window_... now the first param is a window */ -MetaMatching* meta_matching_load_from_role (MetaWindow *window, gchar *role); +void meta_matching_load_from_role (MetaWindow *window, gchar *role); void meta_matching_save_to_role (MetaWindow *window, gchar *role); -- cgit v1.2.1