mirror of
https://github.com/signalwire/freeswitch.git
synced 2026-11-12 12:37:05 +00:00
let's use XFlush instead of XSync, helps broken XLib
Signed-off-by: root <root@server1.celliax.org>
This commit is contained in:
1 parent
cf9ddfa807
commit
5c2fa74f50
3 files changed
+17
-4
No files matched your search
@@ -1458,6 +1458,9 @@ int skypopen_send_message(private_t * tech_pvt, const char *message_P)
|
||||
unsigned int len = strlen(message_P);
|
||||
XEvent e;
|
||||
|
||||
skypopen_sleep(1000);//giovanni
|
||||
XFlush(disp);//giovanni
|
||||
|
||||
memset(&e, 0, sizeof(e));
|
||||
e.xclient.type = ClientMessage;
|
||||
e.xclient.message_type = atom1; /* leading message */
|
||||
@@ -1476,7 +1479,8 @@ int skypopen_send_message(private_t * tech_pvt, const char *message_P)
|
||||
pos += i;
|
||||
} while (pos <= len);
|
||||
|
||||
XSync(disp, False);
|
||||
//giovanni XSync(disp, False);
|
||||
XFlush(disp);
|
||||
ok = X11_errors_untrap();
|
||||
|
||||
if (!ok) {
|
||||
|
||||
Reference in new issue
Block a user