4coder»Forums
Evan Butterfield
7 posts / 1 project
"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
1266 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.