fixed linux build issue
parent
6eacad6221
commit
5a20959c5b
2
4ed.cpp
2
4ed.cpp
|
@ -2636,7 +2636,7 @@ App_Step_Sig(app_step){
|
||||||
else{
|
else{
|
||||||
mouse_position = clamp(0, my, models->layout.full_height);
|
mouse_position = clamp(0, my, models->layout.full_height);
|
||||||
}
|
}
|
||||||
divider->pos = layout_compute_position(&models->layout, divider, );
|
divider->pos = layout_compute_position(&models->layout, divider, mouse_position);
|
||||||
}
|
}
|
||||||
|
|
||||||
layout_fix_all_panels(&models->layout);
|
layout_fix_all_panels(&models->layout);
|
||||||
|
|
1
4ed.h
1
4ed.h
|
@ -34,6 +34,7 @@ struct Key_Input_Data{
|
||||||
|
|
||||||
char modifiers[MDFR_INDEX_COUNT];
|
char modifiers[MDFR_INDEX_COUNT];
|
||||||
};
|
};
|
||||||
|
static Key_Input_Data null_key_input_data = {0};
|
||||||
|
|
||||||
struct Key_Summary{
|
struct Key_Summary{
|
||||||
i32 count;
|
i32 count;
|
||||||
|
|
|
@ -3464,7 +3464,7 @@ main(int argc, char **argv)
|
||||||
flush_thread_group(BACKGROUND_THREADS);
|
flush_thread_group(BACKGROUND_THREADS);
|
||||||
|
|
||||||
linuxvars.input.first_step = 0;
|
linuxvars.input.first_step = 0;
|
||||||
linuxvars.input.keys = key_input_data_zero();
|
linuxvars.input.keys = null_key_input_data;
|
||||||
linuxvars.input.mouse.press_l = 0;
|
linuxvars.input.mouse.press_l = 0;
|
||||||
linuxvars.input.mouse.release_l = 0;
|
linuxvars.input.mouse.release_l = 0;
|
||||||
linuxvars.input.mouse.press_r = 0;
|
linuxvars.input.mouse.press_r = 0;
|
||||||
|
|
Loading…
Reference in New Issue