~ubuntu-branches/ubuntu/gutsy/compiz-fusion-plugins-main/gutsy-security

« back to all changes in this revision

Viewing changes to src/workarounds/workarounds.c

  • Committer: Bazaar Package Importer
  • Author(s): Michael Vogt
  • Date: 2007-09-12 17:59:44 UTC
  • mfrom: (1.1.10 upstream)
  • Revision ID: james.westby@ubuntu.com-20070912175944-br17e68c45rbm7aq
Tags: 0.5.2+git20070912-0ubuntu1
* new 0.6 branch snapshot
* fix firefox menu detection workaround

Show diffs side-by-side

added added

removed removed

Lines of Context:
192
192
    CompDisplay  *d = w->screen->display;
193
193
    unsigned int newWmType;
194
194
 
195
 
    w->wmType = newWmType = getWindowType (d, w->id);
 
195
    newWmType = getWindowType (d, w->id);
196
196
 
197
197
    /* FIXME: Is this the best way to detect a notification type window? */
198
198
    if (workaroundsGetNotificationDaemonFix (d))
209
209
    {
210
210
        if (w->wmType == CompWindowTypeNormalMask &&
211
211
            w->attrib.override_redirect && w->resName &&
212
 
            (strcmp (w->resName, "gecko") == 0))
 
212
            (strcasecmp (w->resName, "gecko") == 0))
213
213
        {
214
214
            newWmType = CompWindowTypeDropdownMenuMask;
215
215
        }