summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDanny Baumann <dannybaumann@web.de>2007-09-11 22:34:20 +0200
committerDanny Baumann <dannybaumann@web.de>2007-09-11 22:34:20 +0200
commitaa846f5658c26ce00f1c79bc3a32e83955844baa (patch)
treec3bda003d28588d1b400ee3b97e3e757d5a1ea7f
parentec58a5bf6474bb9ea08d24d16ea799446be941b5 (diff)
downloadworkarounds-aa846f5658c26ce00f1c79bc3a32e83955844baa.tar.gz
workarounds-aa846f5658c26ce00f1c79bc3a32e83955844baa.tar.bz2
Check firefox menu class name case insensitive.
Firefox' menu class names are not exactly consistent ("gecko" on Fedora, "Gecko" on Ubuntu).
-rw-r--r--workarounds.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/workarounds.c b/workarounds.c
index 8d62c42..301d758 100644
--- a/workarounds.c
+++ b/workarounds.c
@@ -209,7 +209,7 @@ workaroundsDoFixes (CompWindow *w)
{
if (w->wmType == CompWindowTypeNormalMask &&
w->attrib.override_redirect && w->resName &&
- (strcmp (w->resName, "gecko") == 0))
+ (strcasecmp (w->resName, "gecko") == 0))
{
newWmType = CompWindowTypeDropdownMenuMask;
}