summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorDave Davenport <qball@gmpclient.org>2017-04-21 09:37:03 +0200
committerDave Davenport <qball@gmpclient.org>2017-04-21 09:37:03 +0200
commit01159b29f009977da975ff8c2d648ec0d2881e40 (patch)
treea9d2f223bd0e7e1ab6267949f623f4c4a61bed3d /include
parent5edc7398485c000860068da6456a5b74a3709af4 (diff)
[Mode] Make the name field a pointer instead of a fixed 32char array.
Diffstat (limited to 'include')
-rw-r--r--include/mode-private.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/mode-private.h b/include/mode-private.h
index 97a17fa2..b22eccf0 100644
--- a/include/mode-private.h
+++ b/include/mode-private.h
@@ -31,7 +31,7 @@
#include <gmodule.h>
/** ABI version to check if loaded plugin is compatible. */
-#define ABI_VERSION 0x00000004
+#define ABI_VERSION 0x00000005
/**
* @param data Pointer to #Mode object.
@@ -143,7 +143,7 @@ struct rofi_mode
/** Used for external plugins. */
unsigned int abi_version;
/** Name (max 31 char long) */
- char name[32];
+ char *name;
char cfg_name_key[128];
char *display_name;