diff options
author | Eion Robb <eion@robbmob.com> | 2008-11-10 06:50:20 +0300 |
---|---|---|
committer | Eion Robb <eion@robbmob.com> | 2008-11-10 06:50:20 +0300 |
commit | 127c5bd1de0eec605b8f2df0177af9cd81ecbc3d (patch) | |
tree | 3fd0176f18f53fe219674fbbd9e8e65e9d1aca08 /skype_messaging_x11.c | |
parent | 2941e7997770e2a92cdaaffd1ac0c9b487cc46f4 (diff) |
More locks/unlocks to try to fix assert
Diffstat (limited to 'skype_messaging_x11.c')
-rw-r--r-- | skype_messaging_x11.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/skype_messaging_x11.c b/skype_messaging_x11.c index 0657f67..5bddfdb 100644 --- a/skype_messaging_x11.c +++ b/skype_messaging_x11.c @@ -214,7 +214,11 @@ receive_message_loop(void) { skype_debug_info("skype_x11", "unknown message type: %d\n", e.xclient.message_type); if (disp) + { + XLockDisplay(disp); XFlush(disp); + XUnlockDisplay(disp); + } continue; } @@ -222,7 +226,11 @@ receive_message_loop(void) { g_thread_create((GThreadFunc)skype_message_received, (void *)g_string_free(msg, FALSE), FALSE, NULL); if (disp) + { + XLockDisplay(disp); XFlush(disp); + XUnlockDisplay(disp); + } } } } |