Changeset View
Changeset View
Standalone View
Standalone View
effects/fadingpopups/package/contents/code/main.js
Show All 36 Lines | 36 | if (blacklist.indexOf(window.windowClass) != -1) { | |||
---|---|---|---|---|---|
37 | return false; | 37 | return false; | ||
38 | } | 38 | } | ||
39 | 39 | | |||
40 | // Animate combo box popups, tooltips, popup menus, etc. | 40 | // Animate combo box popups, tooltips, popup menus, etc. | ||
41 | if (window.popupWindow) { | 41 | if (window.popupWindow) { | ||
42 | return true; | 42 | return true; | ||
43 | } | 43 | } | ||
44 | 44 | | |||
45 | // Maybe the outline deserves its own effect. | ||||
46 | if (window.outline) { | ||||
47 | return true; | ||||
48 | } | ||||
49 | | ||||
45 | // Override-redirect windows are usually used for user interface | 50 | // Override-redirect windows are usually used for user interface | ||
46 | // concepts that are expected to be animated by this effect, e.g. | 51 | // concepts that are expected to be animated by this effect, e.g. | ||
47 | // popups that contain window thumbnails on X11, etc. | 52 | // popups that contain window thumbnails on X11, etc. | ||
48 | if (window.x11Client && !window.managed) { | 53 | if (window.x11Client && !window.managed) { | ||
49 | // Some utility windows can look like popup windows (e.g. the | 54 | // Some utility windows can look like popup windows (e.g. the | ||
50 | // address bar dropdown in Firefox), but we don't want to fade | 55 | // address bar dropdown in Firefox), but we don't want to fade | ||
51 | // them because the fade effect didn't do that. | 56 | // them because the fade effect didn't do that. | ||
52 | if (window.utility) { | 57 | if (window.utility) { | ||
▲ Show 20 Lines • Show All 93 Lines • Show Last 20 Lines |