Make the resize step size configurable

This commit is contained in:
Kovid Goyal
2018-05-17 16:48:35 +05:30
parent cddfe425e1
commit 190612d507
7 changed files with 32 additions and 11 deletions

View File

@@ -88,6 +88,7 @@ handle_resize_key(int key, int action, int mods) {
call_boss(handle_resize_keypress, "iiKKK", key, mods, global_state.currently_resizing.os_window_id, global_state.currently_resizing.tab_id, global_state.currently_resizing.window_id);
return true;
}
if (key == GLFW_KEY_LEFT_CONTROL || key == GLFW_KEY_RIGHT_CONTROL) return true;
return false;
}