summaryrefslogtreecommitdiff
path: root/src/workspace.h
diff options
context:
space:
mode:
authorHavoc Pennington <hp@pobox.com>2002-06-22 04:52:35 +0000
committerHavoc Pennington <hp@src.gnome.org>2002-06-22 04:52:35 +0000
commit0243071f158363895db559652848463b25423fa0 (patch)
tree006039a73072b04eff4505e3ac398add102c780f /src/workspace.h
parentde42a62f4e076df117449c1b3eeac51d7e5571a9 (diff)
downloadmetacity-0243071f158363895db559652848463b25423fa0.tar.gz
new utility function
2002-06-22 Havoc Pennington <hp@pobox.com> * src/xprops.c (meta_prop_get_utf8_list): new utility function * src/display.c (meta_display_open): _NET_DESKTOP_NAMES atom (event_callback): update workspace names when the property changes * src/screen.c (set_supported_hint): "support" _NET_DESKTOP_NAMES (nothing to do really)
Diffstat (limited to 'src/workspace.h')
-rw-r--r--src/workspace.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/workspace.h b/src/workspace.h
index 90c62a5b..8fbdc74c 100644
--- a/src/workspace.h
+++ b/src/workspace.h
@@ -41,6 +41,8 @@ struct _MetaWorkspace
GList *windows;
+ char *name;
+
MetaRectangle work_area;
guint work_area_invalid : 1;
};
@@ -72,6 +74,9 @@ MetaWorkspace* meta_workspace_get_neighbor (MetaWorkspace *workspace,
void meta_workspace_ensure_tab_popup (MetaDisplay *display,
MetaScreen *screen);
+void meta_workspace_set_name (MetaWorkspace *workspace,
+ const char *name);
+
#endif