1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-22 08:58:47 +00:00
freebsd-ports/x11-wm/openbox/files/openbox-3.5.0-title-matching.patch
Roman Bogorodskiy 05f788b987 x11-wm/opebox: include some third party patches
- Include 3rd party patches from
   https://github.com/dylanaraps/openbox-patched. These include
   support for rounded corners and some bugfixes. They could be
   enabled using the new PATCHES option, which is off by default;
 - Use INSTALL_TARGET=install-strip to strip binaries as detected
   by stage-qa.
2018-01-21 09:59:14 +00:00

12 lines
546 B
Diff

--- openbox-3.5.0/openbox/client.c 2011-08-01 22:14:58.000000000 +0200
+++ openbox-3.5.0/openbox/client.c 2011-10-22 14:59:56.000000000 +0200
@@ -883,7 +883,7 @@
!g_pattern_match(app->role,
strlen(self->role), self->role, NULL))
match = FALSE;
- else if (app->title &&
+ else if (app->title && self->title &&
!g_pattern_match(app->title,
strlen(self->title), self->title, NULL))
match = FALSE;