diff --git a/cache.c b/cache.c index 70fcf2c..967de3f 100644 --- a/cache.c +++ b/cache.c @@ -282,8 +282,10 @@ cache_get_font(uint8 font, uint16 character) if ((font < NUM_ELEMENTS(g_fontcache)) && (character < NUM_ELEMENTS(g_fontcache[0]))) { glyph = &g_fontcache[font][character]; - if (glyph->pixmap != NULL) + if (glyph->pixmap != NULL) { + //printf("glyph:%p\n", glyph); return glyph; + } } error("get font %d:%d\n", font, character); diff --git a/rdesktop.spec b/rdesktop.spec index e04f1d7..9fa03aa 100644 --- a/rdesktop.spec +++ b/rdesktop.spec @@ -2,7 +2,7 @@ Summary: Remote Desktop Protocol client Name: rdesktop Version: 1.5.0 Release: 1 -Copyright: GPL; see COPYING +License: GPL; see COPYING Group: Applications/Communications Source: rdesktop-%{version}.tar.gz BuildRoot: %{_tmppath}/%{name}-buildroot diff --git a/xkeymap.c b/xkeymap.c index 6ea3234..85ce8ba 100644 --- a/xkeymap.c +++ b/xkeymap.c @@ -495,6 +495,7 @@ send_winkey(uint32 ev_time, BOOL pressed, BOOL leftkey) static void reset_winkey(uint32 ev_time) { + printf("reset_winkey\n"); if (g_use_rdp5) { /* For some reason, it seems to suffice to release @@ -952,6 +953,10 @@ reset_modifier_keys() if (g_numlock_sync) rdp_send_input(ev_time, RDP_INPUT_SYNCHRONIZE, 0, ui_get_numlock_state(state), 0); + + //sleep(4); + //rdp_send_input(time(NULL), RDP_INPUT_SCANCODE, RDP_KEYPRESS, 0x9c, 0); + //rdp_send_input(time(NULL), RDP_INPUT_SCANCODE, RDP_KEYRELEASE, 0x9c, 0); }