4coder»Forums
Evan Butterfield
6 posts
"supress_mouse" on startup

Is it possible to run the command "supress_mouse" on startup. I guess this could apply to any command but this is the only one I find myself doing everytime.

Simon Anciaux
1184 posts
"supress_mouse" on startup

You can add

suppress_mouse( app );
/* or */
toggle_mouse( app );

In either custom_layer_init (not sure, as the initialze code might overwrite that setting), or in the default_startup hook.