mirror of
https://github.com/Ed94/raddebugger.git
synced 2026-11-26 07:42:22 -08:00
more adjustments
This commit is contained in:
1 parent
e1d79d07b2
commit
9d655c0190
10 files changed
+71
-48
No files matched your search
@@ -381,19 +381,6 @@ wm_window_open(Rng2F32 rect, WM_WindowFlags flags, String8 title)
|
||||
XFlush(lnx_wm_state->display);
|
||||
}
|
||||
|
||||
//- rjf: ignore .desktop files
|
||||
{
|
||||
XClassHint *class_hint = XAllocClassHint();
|
||||
if(class_hint)
|
||||
{
|
||||
class_hint->res_name = "custom_raddbg_class";
|
||||
class_hint->res_class = "CustomRaddbgClass";
|
||||
XSetClassHint(lnx_wm_state->display, w->window, class_hint);
|
||||
XFree(class_hint);
|
||||
XFlush(lnx_wm_state->display);
|
||||
}
|
||||
}
|
||||
|
||||
//- rjf: create xic
|
||||
w->xic = XCreateIC(lnx_wm_state->xim,
|
||||
XNInputStyle, XIMPreeditNothing|XIMStatusNothing,
|
||||
@@ -843,7 +830,7 @@ wm_get_events(Arena *arena, B32 wait)
|
||||
for(U64 off = 0; off < text_size;)
|
||||
{
|
||||
UnicodeDecode decode = utf8_decode(text+off, text_size-off);
|
||||
if(decode.codepoint != 0 && decode.codepoint != 127 && (decode.codepoint >= 32 || decode.codepoint == '\t'))
|
||||
if(decode.codepoint != 0 && decode.codepoint != 127 && decode.codepoint >= 32)
|
||||
{
|
||||
WM_Event *e = wm_event_list_push_new(arena, &evts, WM_EventKind_Text);
|
||||
e->window.u64[0] = (U64)window;
|
||||
|
||||
Reference in new issue
Block a user