mirror of
https://git.freebsd.org/ports.git
synced 2025-07-13 15:29:15 -04:00
The attached patch integrates a band-aid fix into x11/tint which fixes crashes when conky is running on the the same X11 display PR: 278343 Reported by: yamagi@yamagi.org
12 lines
362 B
C
12 lines
362 B
C
--- src/main.c.orig 2024-04-13 07:17:11 UTC
|
|
+++ src/main.c
|
|
@@ -419,6 +419,9 @@ void handle_x_event(XEvent *e)
|
|
if (handle_x_event_autohide(e))
|
|
return;
|
|
|
|
+ if ((e->type==4 || e->type==5 || e->type==6) && e->xproperty.window==server.root_win)
|
|
+ return;
|
|
+
|
|
Panel *panel = get_panel(e->xany.window);
|
|
switch (e->type) {
|
|
case ButtonPress: {
|