diff --git a/x11/tint/Makefile b/x11/tint/Makefile index 2c1b19430723..2cf2fb3289ee 100644 --- a/x11/tint/Makefile +++ b/x11/tint/Makefile @@ -1,35 +1,35 @@ PORTNAME= tint2 PORTVERSION= 16.7 -PORTREVISION= 4 +PORTREVISION= 5 CATEGORIES= x11 MAINTAINER= yamagi@yamagi.org COMMENT= Lightweight freedesktop-compliant panel/taskbar/systray/clock WWW= https://gitlab.com/o9000/tint2 LICENSE= GPLv2 LICENSE_FILE= ${WRKSRC}/COPYING LIB_DEPENDS= libfontconfig.so:x11-fonts/fontconfig \ libfreetype.so:print/freetype2 \ libImlib2.so:graphics/imlib2 \ libstartup-notification-1.so:x11/startup-notification USES= alias cmake desktop-file-utils gettext-runtime gnome pkgconfig \ shared-mime-info xorg USE_GNOME= cairo glib20 gtk20 librsvg2 pango USE_XORG= x11 xcomposite xdamage xext xfixes xinerama xrandr xrender CMAKE_ARGS= -DMANDIR:PATH=man \ -DSYSCONFDIR:PATH=etc OPTIONS_DEFINE= DOCS NLS OPTIONS_SUB= yes NLS_USES= gettext NLS_CMAKE_BOOL_OFF= CMAKE_DISABLE_FIND_PACKAGE_Gettext USE_GITLAB= yes GL_ACCOUNT= o9000 GL_TAGNAME= 78313502d3b26c217f5583a23ef571bc9e0edc45 .include diff --git a/x11/tint/files/patch-src_main.c b/x11/tint/files/patch-src_main.c new file mode 100644 index 000000000000..085c8ffc3580 --- /dev/null +++ b/x11/tint/files/patch-src_main.c @@ -0,0 +1,12 @@ +--- 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: {