summaryrefslogtreecommitdiff
path: root/src/desktop.h
diff options
context:
space:
mode:
authorVito Caputo <vcaputo@pengaru.com>2020-12-23 18:24:23 -0800
committerVito Caputo <vcaputo@pengaru.com>2020-12-23 18:25:55 -0800
commitd564d06b1ce89e90e1aacc5433b5eabd38270973 (patch)
tree18cac48f7687c9cbacf343baa6c9c047c81befd7 /src/desktop.h
parent3161db573424a554b536aaa492397341b84683ce (diff)
desktop: drop unused desktop names
At some point I wanted to support naming virtual desktops, but that never materialized and I don't find myself wishing it was there.
Diffstat (limited to 'src/desktop.h')
-rw-r--r--src/desktop.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/desktop.h b/src/desktop.h
index c231ca5..5c83a4c 100644
--- a/src/desktop.h
+++ b/src/desktop.h
@@ -11,13 +11,12 @@ typedef struct _vwm_window_t vwm_window_t;
typedef struct _vwm_desktop_t {
list_head_t desktops; /* global list of (virtual) desktops */
list_head_t desktops_mru; /* global list of (virtual) desktops in MRU order */
- char *name; /* name of the desktop (TODO) */
vwm_window_t *focused_window; /* the focused window on this virtual desktop */
} vwm_desktop_t;
void vwm_desktop_mru(vwm_t *vwm, vwm_desktop_t *desktop);
int vwm_desktop_focus(vwm_t *vwm, vwm_desktop_t *desktop);
-vwm_desktop_t * vwm_desktop_create(vwm_t *vwm, char *name);
+vwm_desktop_t * vwm_desktop_create(vwm_t *vwm);
void vwm_desktop_destroy(vwm_t *vwm, vwm_desktop_t *desktop);
vwm_desktop_t * vwm_desktop_next_mru(vwm_t *vwm, vwm_desktop_t *desktop, vwm_direction_t direction);
vwm_desktop_t * vwm_desktop_next(vwm_t *vwm, vwm_desktop_t *desktop, vwm_direction_t direction);
© All Rights Reserved