Changeset View
Changeset View
Standalone View
Standalone View
effects/scale/package/contents/code/main.js
Show First 20 Lines • Show All 60 Lines • ▼ Show 20 Line(s) | 60 | if (window.hasDecoration) { | |||
---|---|---|---|---|---|
61 | return true; | 61 | return true; | ||
62 | } | 62 | } | ||
63 | 63 | | |||
64 | // Don't animate combobox popups, tooltips, popup menus, etc. | 64 | // Don't animate combobox popups, tooltips, popup menus, etc. | ||
65 | if (window.popupWindow) { | 65 | if (window.popupWindow) { | ||
66 | return false; | 66 | return false; | ||
67 | } | 67 | } | ||
68 | 68 | | |||
69 | // Dont't animate outline because it looks very sick. | ||||
70 | if (window.outline) { | ||||
71 | return false; | ||||
72 | } | ||||
73 | | ||||
69 | // Override-redirect windows are usually used for user interface | 74 | // Override-redirect windows are usually used for user interface | ||
70 | // concepts that are not expected to be animated by this effect. | 75 | // concepts that are not expected to be animated by this effect. | ||
71 | if (window.x11Client && !window.managed) { | 76 | if (window.x11Client && !window.managed) { | ||
72 | return false; | 77 | return false; | ||
73 | } | 78 | } | ||
74 | 79 | | |||
75 | return window.normalWindow || window.dialog; | 80 | return window.normalWindow || window.dialog; | ||
76 | }, | 81 | }, | ||
▲ Show 20 Lines • Show All 99 Lines • Show Last 20 Lines |