From 0243071f158363895db559652848463b25423fa0 Mon Sep 17 00:00:00 2001 From: Havoc Pennington Date: Sat, 22 Jun 2002 04:52:35 +0000 Subject: new utility function 2002-06-22 Havoc Pennington * 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) --- src/workspace.h | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'src/workspace.h') 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 -- cgit v1.2.1