diff --git a/include/vlc_variables.h b/include/vlc_variables.h
index be20c47f0bc5a82c262225cb71303be357b439d7..04196fdd86aae28c5447c02cf2cbfc24546d0204 100644
--- a/include/vlc_variables.h
+++ b/include/vlc_variables.h
@@ -106,6 +106,8 @@
 
 #define VLC_VAR_INHERITVALUE        0x0030
 #define VLC_VAR_TRIGGER_CALLBACKS   0x0035
+
+#define VLC_VAR_SETISCOMMAND        0x0040
 /**@}*/
 
 /*****************************************************************************
diff --git a/src/misc/variables.c b/src/misc/variables.c
index 2bd20558deace8af349713b4ef0e9eb2b4affc52..45d15cfe5ed62e529fab1dd2d220f97df23f7c26 100644
--- a/src/misc/variables.c
+++ b/src/misc/variables.c
@@ -710,6 +710,10 @@ int __var_Change( vlc_object_t *p_this, const char *psz_name,
             }
             break;
 
+        case VLC_VAR_SETISCOMMAND:
+            p_var->i_type |= VLC_VAR_ISCOMMAND;
+            break;
+
         default:
             break;
     }