diff --git a/build.sh b/build.sh index a8b0fd41..f7ea6139 100644 --- a/build.sh +++ b/build.sh @@ -70,7 +70,7 @@ if [ -v rdi_from_pdb ]; then didbuild=1 && $compile ../src/rdi_from_pdb if [ -v rdi_from_dwarf ]; then didbuild=1 && $compile ../src/rdi_from_dwarf/rdi_from_dwarf.c $compile_link $out rdi_from_dwarf; fi if [ -v rdi_dump ]; then didbuild=1 && $compile ../src/rdi_dump/rdi_dump_main.c $compile_link $out rdi_dump; fi if [ -v rdi_breakpad_from_pdb ]; then didbuild=1 && $compile ../src/rdi_breakpad_from_pdb/rdi_breakpad_from_pdb_main.c $compile_link $out rdi_breakpad_from_pdb; fi -if [ -v ryan_scratch ]; then didbuild=1 && $compile ../src/scratch/ryan_scratch.c $compile_link $link_os_gfx $link_render $out ryan_scratch; fi +if [ -v ryan_scratch ]; then didbuild=1 && $compile ../src/scratch/ryan_scratch.c $compile_link $link_os_gfx $link_render $link_font_provider $out ryan_scratch; fi cd .. # --- Warn On No Builds ------------------------------------------------------- diff --git a/src/os/gfx/linux/os_gfx_linux.c b/src/os/gfx/linux/os_gfx_linux.c index aae73b6b..6c81fbb0 100644 --- a/src/os/gfx/linux/os_gfx_linux.c +++ b/src/os/gfx/linux/os_gfx_linux.c @@ -391,6 +391,7 @@ os_get_events(Arena *arena, B32 wait) case ',':{key = OS_Key_Comma;}break; case '/':{key = OS_Key_Slash;}break; case '\\':{key = OS_Key_BackSlash;}break; + case '\t':{key = OS_Key_Tab;}break; case 'a':case 'A':{key = OS_Key_A;}break; case 'b':case 'B':{key = OS_Key_B;}break; case 'c':case 'C':{key = OS_Key_C;}break; @@ -454,6 +455,7 @@ os_get_events(Arena *arena, B32 wait) e->window.u64[0] = (U64)window; e->modifiers = modifiers; e->key = key; + e->pos = v2f32((F32)evt.xbutton.x, (F32)evt.xbutton.y); }break; //- rjf: mouse motion