FreeBSD Bugzilla – Attachment 230140 Details for
Bug 260437
x11-wm/skippy-xd: remove wrong assertion
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
Git format-patch
0001-x11-wm-skippy-xd-remove-wrong-assertion.patch (text/plain), 1.05 KB, created by
Michael Zhilin
on 2021-12-15 13:47:52 UTC
(
hide
)
Description:
Git format-patch
Filename:
MIME Type:
Creator:
Michael Zhilin
Created:
2021-12-15 13:47:52 UTC
Size:
1.05 KB
patch
obsolete
>From dd7bb29c638c9356a916b34e7ac5e72ac2ec3280 Mon Sep 17 00:00:00 2001 >From: Michael Zhilin <mizhka@FreeBSD.org> >Date: Wed, 15 Dec 2021 16:39:32 +0300 >Subject: [PATCH] x11-wm/skippy-xd: remove wrong assertion > >Assertion of empty queue is wrong, because new events can appear after XSync and >before triggering of XEventsQueued. >--- > x11-wm/skippy-xd/files/patch-src_skippy.c | 10 ++++++++++ > 1 file changed, 10 insertions(+) > create mode 100644 x11-wm/skippy-xd/files/patch-src_skippy.c > >diff --git a/x11-wm/skippy-xd/files/patch-src_skippy.c b/x11-wm/skippy-xd/files/patch-src_skippy.c >new file mode 100644 >index 000000000000..e0f66197c210 >--- /dev/null >+++ b/x11-wm/skippy-xd/files/patch-src_skippy.c >@@ -0,0 +1,10 @@ >+--- src/skippy.c.orig 2015-02-24 13:35:00 UTC >++++ src/skippy.c >+@@ -779,7 +779,6 @@ mainloop(session_t *ps, bool activate_on_start) { >+ else { >+ // Discards all events so that poll() won't constantly hit data to read >+ XSync(ps->dpy, True); >+- assert(!XEventsQueued(ps->dpy, QueuedAfterReading)); >+ } >+ >+ // Handle daemon commands >-- >2.34.1 >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 260437
: 230140