summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorDave Davenport <qball@gmpclient.org>2016-01-12 22:17:53 +0100
committerDave Davenport <qball@gmpclient.org>2016-01-12 22:18:10 +0100
commitcc682f107b740a549e6526589854128f94d3bb46 (patch)
tree60c094d991107c10263ec802fd2ccce4a0b0b4b0 /include
parent95dbbf6616b84426e40d1439b8a9b6dc9de7a485 (diff)
Update display value for modi (testing)
Diffstat (limited to 'include')
-rw-r--r--include/mode-private.h2
-rw-r--r--include/mode.h4
2 files changed, 6 insertions, 0 deletions
diff --git a/include/mode-private.h b/include/mode-private.h
index d52419e9..511f4e61 100644
--- a/include/mode-private.h
+++ b/include/mode-private.h
@@ -38,6 +38,8 @@ struct _Mode
{
/** Name (max 31 char long) */
char name[32];
+ char cfg_name_key[128];
+ char *display_name;
/** Keybindings (keysym and modmask) */
char * keycfg;
char * keystr;
diff --git a/include/mode.h b/include/mode.h
index d53475fc..9d00e0c2 100644
--- a/include/mode.h
+++ b/include/mode.h
@@ -206,5 +206,9 @@ void *mode_get_private_data ( const Mode *mode );
* Set the private data object.
*/
void mode_set_private_data ( Mode *mode, void *pd );
+
+const char *mode_get_display_name ( const Mode *mode );
+
+void mode_set_config ( Mode *mode );
/*@}*/
#endif