add optional command spec restriction to cmd param slot -> view spec table; eliminate mouse testing when windows are not focused

This commit is contained in:
Ryan Fleury committed 2024-01-30 09:14:59 -08:00
1 parent c61ff1910c
commit d139c2874c
5 files changed
+70 -19

No files matched your search

+13
View File
@@ -905,6 +905,7 @@ DF_CmdParamSlot_FilePath,
DF_CmdParamSlot_CmdSpec,
DF_CmdParamSlot_ID,
DF_CmdParamSlot_String,
DF_CmdParamSlot_String,
};
String8 df_g_cmd_param_slot_2_view_spec_dst_map[] =
@@ -915,6 +916,18 @@ str8_lit_comp("file_system"),
str8_lit_comp("commands"),
str8_lit_comp("system_processes"),
str8_lit_comp("symbol_lister"),
str8_lit_comp("symbol_lister"),
};
String8 df_g_cmd_param_slot_2_view_spec_cmd_map[] =
{
str8_lit_comp(""),
str8_lit_comp(""),
str8_lit_comp(""),
str8_lit_comp(""),
str8_lit_comp(""),
str8_lit_comp("goto_name"),
str8_lit_comp("function_breakpoint"),
};
DF_StringBindingPair df_g_default_binding_table[] =