Merge lp:~unity-team/compiz/x-sru2 into lp:compiz/xenial
- x-sru2
- Merge into xenial
Proposed by
Marco Trevisan (Treviño)
Status: | Merged |
---|---|
Approved by: | Andrea Azzarone |
Approved revision: | 4015 |
Merged at revision: | 4013 |
Proposed branch: | lp:~unity-team/compiz/x-sru2 |
Merge into: | lp:compiz/xenial |
Diff against target: |
730 lines (+189/-282) 22 files modified
compizconfig/gsettings/gsettings_backend_shared/ccs_gsettings_backend.c (+2/-1) debian/00_remove_decor_in_unity_session.py (+0/-47) debian/00_remove_gnomecompat_in_unity_session.py (+0/-48) debian/00_remove_obsolete_plugins_in_unity_session_v1.py (+52/-0) debian/00_remove_scalefilter_in_unity_session.py (+0/-47) debian/changelog (+18/-0) debian/compiz-gnome.gconf-defaults (+0/-10) debian/compiz-gnome.gsettings-override (+0/-1) debian/compiz-gnome.install (+1/-1) debian/compiz-gnome.migrations (+1/-3) debian/compizconfig (+5/-0) debian/unity-lowgfx.ini (+47/-0) plugins/composite/src/privates.h (+2/-9) plugins/composite/src/window.cpp (+11/-45) plugins/expo/expo.xml.in (+5/-1) plugins/expo/src/expo.cpp (+12/-4) plugins/gnomecompat/gnomecompat.xml.in (+3/-0) plugins/scale/scale.xml.in (+5/-0) plugins/scale/src/scale.cpp (+5/-3) plugins/showdesktop/showdesktop.xml.in (+5/-0) plugins/showdesktop/src/showdesktop.cpp (+15/-4) src/plugin.cpp (+0/-58) |
To merge this branch: | bzr merge lp:~unity-team/compiz/x-sru2 |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Andrea Azzarone | Approve | ||
Review via email: mp+299129@code.launchpad.net |
Commit message
Releasing SRU2 for Xenial
Description of the change
To post a comment you must log in.
Revision history for this message
Andrea Azzarone (azzar1) : | # |
review:
Approve
lp:~unity-team/compiz/x-sru2
updated
- 4016. By Eleni Maria Stea
-
Added a new option in show desktop plugin that skips the fade animation: useful when performance is more important than eyecandy.
- 4017. By Marco Trevisan (Treviño)
-
ccsGSettingsBac
kend: don't try to update setting if wrapper is not found - 4018. By Marco Trevisan (Treviño)
-
migration scripts: remove unsupported plugins for all the unity profiles
- 4019. By Marco Trevisan (Treviño)
-
debian/changelog: remove reference to crash bug since it's not affecting xenial
Preview Diff
[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1 | === modified file 'compizconfig/gsettings/gsettings_backend_shared/ccs_gsettings_backend.c' | |||
2 | --- compizconfig/gsettings/gsettings_backend_shared/ccs_gsettings_backend.c 2016-03-03 14:22:05 +0000 | |||
3 | +++ compizconfig/gsettings/gsettings_backend_shared/ccs_gsettings_backend.c 2016-07-14 15:59:00 +0000 | |||
4 | @@ -93,7 +93,8 @@ | |||
5 | 93 | 93 | ||
6 | 94 | g_value_unset (&schemaNameValue); | 94 | g_value_unset (&schemaNameValue); |
7 | 95 | 95 | ||
9 | 96 | updateSettingWithGSettingsKeyName (backend, wrapper, keyName, backendInterface->updateSetting); | 96 | if (wrapper) |
10 | 97 | updateSettingWithGSettingsKeyName (backend, wrapper, keyName, backendInterface->updateSetting); | ||
11 | 97 | } | 98 | } |
12 | 98 | 99 | ||
13 | 99 | static CCSGSettingsWrapper * | 100 | static CCSGSettingsWrapper * |
14 | 100 | 101 | ||
15 | === removed file 'debian/00_remove_decor_in_unity_session.py' | |||
16 | --- debian/00_remove_decor_in_unity_session.py 2015-04-06 13:42:54 +0000 | |||
17 | +++ debian/00_remove_decor_in_unity_session.py 1970-01-01 00:00:00 +0000 | |||
18 | @@ -1,47 +0,0 @@ | |||
19 | 1 | #!/usr/bin/python3 | ||
20 | 2 | # -*- coding: utf-8 -*- | ||
21 | 3 | # Copyright (C) 2014-2015 Canonical | ||
22 | 4 | # | ||
23 | 5 | # Authors: | ||
24 | 6 | # Marco Trevisan <marco.trevisan@canonical.com> | ||
25 | 7 | # | ||
26 | 8 | # This program is free software; you can redistribute it and/or modify it under | ||
27 | 9 | # the terms of the GNU General Public License as published by the Free Software | ||
28 | 10 | # Foundation; version 3. | ||
29 | 11 | # | ||
30 | 12 | # This program is distributed in the hope that it will be useful, but WITHOUTa | ||
31 | 13 | # ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS | ||
32 | 14 | # FOR A PARTICULAR PURPOSE. See the GNU General Public License for more | ||
33 | 15 | # details. | ||
34 | 16 | # | ||
35 | 17 | # You should have received a copy of the GNU General Public License along with | ||
36 | 18 | # this program; if not, write to the Free Software Foundation, Inc., | ||
37 | 19 | # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA | ||
38 | 20 | |||
39 | 21 | from gi.repository import Gio | ||
40 | 22 | import os,sys | ||
41 | 23 | |||
42 | 24 | COMPIZ_SCHEMA = "org.compiz" | ||
43 | 25 | COMPIZ_CORE_PATH = "/org/compiz/profiles/unity/plugins/core/" | ||
44 | 26 | |||
45 | 27 | if COMPIZ_SCHEMA not in Gio.Settings.list_schemas(): | ||
46 | 28 | print("No compiz schemas found, no migration needed") | ||
47 | 29 | sys.exit(0) | ||
48 | 30 | |||
49 | 31 | core_settings = Gio.Settings(schema=COMPIZ_SCHEMA+".core", path=COMPIZ_CORE_PATH) | ||
50 | 32 | active_plugins = core_settings.get_strv("active-plugins") | ||
51 | 33 | |||
52 | 34 | if not "decor" in active_plugins: | ||
53 | 35 | print("No decor plugin active, no migration needed") | ||
54 | 36 | sys.exit(0) | ||
55 | 37 | |||
56 | 38 | try: | ||
57 | 39 | active_plugins.remove("decor") | ||
58 | 40 | except ValueError: | ||
59 | 41 | pass | ||
60 | 42 | |||
61 | 43 | # gsettings doesn't work directly, the key is somewhat reverted. Work one level under then: dconf! | ||
62 | 44 | # gsettings.set_strv("active-plugins", active_plugins) | ||
63 | 45 | from subprocess import Popen, PIPE, STDOUT | ||
64 | 46 | p = Popen(("dconf load "+COMPIZ_CORE_PATH).split(), stdout=PIPE, stdin=PIPE, stderr=STDOUT) | ||
65 | 47 | p.communicate(input=bytes("[/]\nactive-plugins={}".format(active_plugins),'utf-8')) | ||
66 | 48 | 0 | ||
67 | === removed file 'debian/00_remove_gnomecompat_in_unity_session.py' | |||
68 | --- debian/00_remove_gnomecompat_in_unity_session.py 2015-04-06 13:42:54 +0000 | |||
69 | +++ debian/00_remove_gnomecompat_in_unity_session.py 1970-01-01 00:00:00 +0000 | |||
70 | @@ -1,48 +0,0 @@ | |||
71 | 1 | #!/usr/bin/python3 | ||
72 | 2 | # -*- coding: utf-8 -*- | ||
73 | 3 | # Copyright (C) 2014-2015 Canonical | ||
74 | 4 | # | ||
75 | 5 | # Authors: | ||
76 | 6 | # Marco Trevisan <marco.trevisan@canonical.com> | ||
77 | 7 | # William Hua <william.hua@canonical.com> | ||
78 | 8 | # | ||
79 | 9 | # This program is free software; you can redistribute it and/or modify it under | ||
80 | 10 | # the terms of the GNU General Public License as published by the Free Software | ||
81 | 11 | # Foundation; version 3. | ||
82 | 12 | # | ||
83 | 13 | # This program is distributed in the hope that it will be useful, but WITHOUTa | ||
84 | 14 | # ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS | ||
85 | 15 | # FOR A PARTICULAR PURPOSE. See the GNU General Public License for more | ||
86 | 16 | # details. | ||
87 | 17 | # | ||
88 | 18 | # You should have received a copy of the GNU General Public License along with | ||
89 | 19 | # this program; if not, write to the Free Software Foundation, Inc., | ||
90 | 20 | # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA | ||
91 | 21 | |||
92 | 22 | from gi.repository import Gio | ||
93 | 23 | import os,sys | ||
94 | 24 | |||
95 | 25 | COMPIZ_SCHEMA = "org.compiz" | ||
96 | 26 | COMPIZ_CORE_PATH = "/org/compiz/profiles/unity/plugins/core/" | ||
97 | 27 | |||
98 | 28 | if COMPIZ_SCHEMA not in Gio.Settings.list_schemas(): | ||
99 | 29 | print("No compiz schemas found, no migration needed") | ||
100 | 30 | sys.exit(0) | ||
101 | 31 | |||
102 | 32 | core_settings = Gio.Settings(schema=COMPIZ_SCHEMA+".core", path=COMPIZ_CORE_PATH) | ||
103 | 33 | active_plugins = core_settings.get_strv("active-plugins") | ||
104 | 34 | |||
105 | 35 | if not "gnomecompat" in active_plugins: | ||
106 | 36 | print("No gnomecompat plugin active, no migration needed") | ||
107 | 37 | sys.exit(0) | ||
108 | 38 | |||
109 | 39 | try: | ||
110 | 40 | active_plugins.remove("gnomecompat") | ||
111 | 41 | except ValueError: | ||
112 | 42 | pass | ||
113 | 43 | |||
114 | 44 | # gsettings doesn't work directly, the key is somewhat reverted. Work one level under then: dconf! | ||
115 | 45 | # gsettings.set_strv("active-plugins", active_plugins) | ||
116 | 46 | from subprocess import Popen, PIPE, STDOUT | ||
117 | 47 | p = Popen(("dconf load "+COMPIZ_CORE_PATH).split(), stdout=PIPE, stdin=PIPE, stderr=STDOUT) | ||
118 | 48 | p.communicate(input=bytes("[/]\nactive-plugins={}".format(active_plugins), 'utf-8')) | ||
119 | 49 | 0 | ||
120 | === added file 'debian/00_remove_obsolete_plugins_in_unity_session_v1.py' | |||
121 | --- debian/00_remove_obsolete_plugins_in_unity_session_v1.py 1970-01-01 00:00:00 +0000 | |||
122 | +++ debian/00_remove_obsolete_plugins_in_unity_session_v1.py 2016-07-14 15:59:00 +0000 | |||
123 | @@ -0,0 +1,52 @@ | |||
124 | 1 | #!/usr/bin/python3 | ||
125 | 2 | # -*- coding: utf-8 -*- | ||
126 | 3 | # Copyright (C) 2016 Canonical | ||
127 | 4 | # | ||
128 | 5 | # Authors: | ||
129 | 6 | # Marco Trevisan <marco.trevisan@canonical.com> | ||
130 | 7 | # | ||
131 | 8 | # This program is free software; you can redistribute it and/or modify it under | ||
132 | 9 | # the terms of the GNU General Public License as published by the Free Software | ||
133 | 10 | # Foundation; version 3. | ||
134 | 11 | # | ||
135 | 12 | # This program is distributed in the hope that it will be useful, but WITHOUTa | ||
136 | 13 | # ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS | ||
137 | 14 | # FOR A PARTICULAR PURPOSE. See the GNU General Public License for more | ||
138 | 15 | # details. | ||
139 | 16 | # | ||
140 | 17 | # You should have received a copy of the GNU General Public License along with | ||
141 | 18 | # this program; if not, write to the Free Software Foundation, Inc., | ||
142 | 19 | # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA | ||
143 | 20 | |||
144 | 21 | from gi.repository import Gio | ||
145 | 22 | import os,sys | ||
146 | 23 | |||
147 | 24 | COMPIZ_SCHEMA = "org.compiz" | ||
148 | 25 | COMPIZ_CORE_PATH = "/org/compiz/profiles/{}/plugins/core/" | ||
149 | 26 | UNITY_PROFILES = ["unity", "unity-lowgfx"] | ||
150 | 27 | OBSOLETE_PLUGINS = ["decor", "gnomecompat", "scalefilter"] | ||
151 | 28 | |||
152 | 29 | if COMPIZ_SCHEMA not in Gio.Settings.list_schemas(): | ||
153 | 30 | print("No compiz schemas found, no migration needed") | ||
154 | 31 | sys.exit(0) | ||
155 | 32 | |||
156 | 33 | for profile in UNITY_PROFILES: | ||
157 | 34 | core_profile_path = COMPIZ_CORE_PATH.format(profile) | ||
158 | 35 | core_settings = Gio.Settings(schema=COMPIZ_SCHEMA+".core", path=core_profile_path) | ||
159 | 36 | active_plugins = core_settings.get_strv("active-plugins") | ||
160 | 37 | |||
161 | 38 | for plugin in OBSOLETE_PLUGINS: | ||
162 | 39 | if not plugin in active_plugins: | ||
163 | 40 | print("No '{}' plugin active in '{}' profile, no migration needed".format(plugin, profile)) | ||
164 | 41 | continue | ||
165 | 42 | |||
166 | 43 | try: | ||
167 | 44 | active_plugins.remove(plugin) | ||
168 | 45 | except ValueError: | ||
169 | 46 | pass | ||
170 | 47 | |||
171 | 48 | # gsettings doesn't work directly, the key is somewhat reverted. Work one level under then: dconf! | ||
172 | 49 | # gsettings.set_strv("active-plugins", active_plugins) | ||
173 | 50 | from subprocess import Popen, PIPE, STDOUT | ||
174 | 51 | p = Popen(("dconf load "+core_profile_path).split(), stdout=PIPE, stdin=PIPE, stderr=STDOUT) | ||
175 | 52 | p.communicate(input=bytes("[/]\nactive-plugins={}".format(active_plugins), 'utf-8')) | ||
176 | 0 | 53 | ||
177 | === removed file 'debian/00_remove_scalefilter_in_unity_session.py' | |||
178 | --- debian/00_remove_scalefilter_in_unity_session.py 2015-04-06 13:42:54 +0000 | |||
179 | +++ debian/00_remove_scalefilter_in_unity_session.py 1970-01-01 00:00:00 +0000 | |||
180 | @@ -1,47 +0,0 @@ | |||
181 | 1 | #!/usr/bin/python3 | ||
182 | 2 | # -*- coding: utf-8 -*- | ||
183 | 3 | # Copyright (C) 2014-2015 Canonical | ||
184 | 4 | # | ||
185 | 5 | # Authors: | ||
186 | 6 | # Marco Trevisan <marco.trevisan@canonical.com> | ||
187 | 7 | # | ||
188 | 8 | # This program is free software; you can redistribute it and/or modify it under | ||
189 | 9 | # the terms of the GNU General Public License as published by the Free Software | ||
190 | 10 | # Foundation; version 3. | ||
191 | 11 | # | ||
192 | 12 | # This program is distributed in the hope that it will be useful, but WITHOUTa | ||
193 | 13 | # ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS | ||
194 | 14 | # FOR A PARTICULAR PURPOSE. See the GNU General Public License for more | ||
195 | 15 | # details. | ||
196 | 16 | # | ||
197 | 17 | # You should have received a copy of the GNU General Public License along with | ||
198 | 18 | # this program; if not, write to the Free Software Foundation, Inc., | ||
199 | 19 | # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA | ||
200 | 20 | |||
201 | 21 | from gi.repository import Gio | ||
202 | 22 | import os,sys | ||
203 | 23 | |||
204 | 24 | COMPIZ_SCHEMA = "org.compiz" | ||
205 | 25 | COMPIZ_CORE_PATH = "/org/compiz/profiles/unity/plugins/core/" | ||
206 | 26 | |||
207 | 27 | if COMPIZ_SCHEMA not in Gio.Settings.list_schemas(): | ||
208 | 28 | print("No compiz schemas found, no migration needed") | ||
209 | 29 | sys.exit(0) | ||
210 | 30 | |||
211 | 31 | core_settings = Gio.Settings(schema=COMPIZ_SCHEMA+".core", path=COMPIZ_CORE_PATH) | ||
212 | 32 | active_plugins = core_settings.get_strv("active-plugins") | ||
213 | 33 | |||
214 | 34 | if not "scalefilter" in active_plugins: | ||
215 | 35 | print("No decor scalefilter active, no migration needed") | ||
216 | 36 | sys.exit(0) | ||
217 | 37 | |||
218 | 38 | try: | ||
219 | 39 | active_plugins.remove("scalefilter") | ||
220 | 40 | except ValueError: | ||
221 | 41 | pass | ||
222 | 42 | |||
223 | 43 | # gsettings doesn't work directly, the key is somewhat reverted. Work one level under then: dconf! | ||
224 | 44 | # gsettings.set_strv("active-plugins", active_plugins) | ||
225 | 45 | from subprocess import Popen, PIPE, STDOUT | ||
226 | 46 | p = Popen(("dconf load "+COMPIZ_CORE_PATH).split(), stdout=PIPE, stdin=PIPE, stderr=STDOUT) | ||
227 | 47 | p.communicate(input=bytes("[/]\nactive-plugins={}".format(active_plugins), 'utf-8')) | ||
228 | 48 | 0 | ||
229 | === modified file 'debian/changelog' | |||
230 | --- debian/changelog 2016-05-26 00:12:16 +0000 | |||
231 | +++ debian/changelog 2016-07-14 15:59:00 +0000 | |||
232 | @@ -1,3 +1,21 @@ | |||
233 | 1 | compiz (1:0.9.12.2+16.04.20160526-0ubuntu2) UNRELEASED; urgency=medium | ||
234 | 2 | |||
235 | 3 | [ Eleni Maria Stea ] | ||
236 | 4 | * Added options for no animation in expo and scale plugins. They skip | ||
237 | 5 | the intermediate fading steps that force several redraws. | ||
238 | 6 | * Added a new option in show desktop plugin that skips the fade | ||
239 | 7 | animation: useful when performance is more important than eyecandy. | ||
240 | 8 | |||
241 | 9 | [ Marco Trevisan (Treviño) ] | ||
242 | 10 | * debian: add unity-lowgfx profile to compizconfig (LP: #1598770) | ||
243 | 11 | * Composite: use C++ goodness for managing damaging rectangles | ||
244 | 12 | * ccsGSettingsBackend: don't try to update setting if wrapper is not | ||
245 | 13 | found | ||
246 | 14 | * migration scripts: remove unsupported plugins for all the unity | ||
247 | 15 | profiles | ||
248 | 16 | |||
249 | 17 | -- Eleni Maria Stea <elenimaria.stea@canonical.com> Tue, 05 Jul 2016 12:29:58 +0200 | ||
250 | 18 | |||
251 | 1 | compiz (1:0.9.12.2+16.04.20160526-0ubuntu1) xenial; urgency=medium | 19 | compiz (1:0.9.12.2+16.04.20160526-0ubuntu1) xenial; urgency=medium |
252 | 2 | 20 | ||
253 | 3 | [ Andrea Azzarone ] | 21 | [ Andrea Azzarone ] |
254 | 4 | 22 | ||
255 | === removed file 'debian/compiz-gnome.gconf-defaults' | |||
256 | --- debian/compiz-gnome.gconf-defaults 2014-03-11 14:04:52 +0000 | |||
257 | +++ debian/compiz-gnome.gconf-defaults 1970-01-01 00:00:00 +0000 | |||
258 | @@ -1,10 +0,0 @@ | |||
259 | 1 | /apps/compiz-1/plugins/move/screen0/options/constrain_y true | ||
260 | 2 | /apps/compiz-1/general/screen0/options/hsize 2 | ||
261 | 3 | /apps/compiz-1/general/screen0/options/vsize 2 | ||
262 | 4 | /apps/gwd/blur_type all | ||
263 | 5 | /apps/gwd/metacity_theme_opacity 1.0 | ||
264 | 6 | /apps/gwd/metacity_theme_shade_opacity true | ||
265 | 7 | /apps/compizconfig-1/profiles/unity/general/screen0/options/active_plugins [core,composite,opengl,compiztoolbox,vpswitch,snap,mousepoll,resize,place,move,wall,grid,regex,imgpng,session,gnomecompat,animation,fade,unitymtgrabhandles,workarounds,scale,expo,ezoom,unityshell] | ||
266 | 8 | /apps/compizconfig-1/profiles/unity/plugins/gnomecompat/screen0/options/main_menu_key "" | ||
267 | 9 | /apps/compizconfig-1/profiles/unity/plugins/gnomecompat/screen0/options/run_key "" | ||
268 | 10 | /apps/compizconfig-1/profiles/Default/general/screen0/options/active_plugins [core,composite,opengl,compiztoolbox,decor,vpswitch,snap,mousepoll,resize,place,move,wall,grid,regex,imgpng,session,gnomecompat,animation,fade,workarounds,scale,expo,ezoom] | ||
269 | 11 | 0 | ||
270 | === modified file 'debian/compiz-gnome.gsettings-override' | |||
271 | --- debian/compiz-gnome.gsettings-override 2015-07-25 18:35:50 +0000 | |||
272 | +++ debian/compiz-gnome.gsettings-override 2016-07-14 15:59:00 +0000 | |||
273 | @@ -10,4 +10,3 @@ | |||
274 | 10 | 10 | ||
275 | 11 | [org.compiz.animation] | 11 | [org.compiz.animation] |
276 | 12 | unminimize-effects=['animation:Glide 2'] | 12 | unminimize-effects=['animation:Glide 2'] |
277 | 13 | |||
278 | 14 | 13 | ||
279 | === modified file 'debian/compiz-gnome.install' | |||
280 | --- debian/compiz-gnome.install 2015-12-10 16:34:35 +0000 | |||
281 | +++ debian/compiz-gnome.install 2016-07-14 15:59:00 +0000 | |||
282 | @@ -1,6 +1,6 @@ | |||
283 | 1 | debian/65compiz_profile-on-session /etc/X11/Xsession.d | 1 | debian/65compiz_profile-on-session /etc/X11/Xsession.d |
284 | 2 | debian/profile_upgrades/*.upgrade usr/share/compizconfig/upgrades | 2 | debian/profile_upgrades/*.upgrade usr/share/compizconfig/upgrades |
286 | 3 | debian/unity.ini /etc/compizconfig/ | 3 | debian/unity*.ini /etc/compizconfig/ |
287 | 4 | postinst/convert-files/*.convert usr/lib/compiz/migration/ | 4 | postinst/convert-files/*.convert usr/lib/compiz/migration/ |
288 | 5 | usr/bin/gtk-window-decorator | 5 | usr/bin/gtk-window-decorator |
289 | 6 | usr/lib/*/compizconfig/backends/libgsettings.so | 6 | usr/lib/*/compizconfig/backends/libgsettings.so |
290 | 7 | 7 | ||
291 | === modified file 'debian/compiz-gnome.migrations' | |||
292 | --- debian/compiz-gnome.migrations 2015-02-19 15:57:24 +0000 | |||
293 | +++ debian/compiz-gnome.migrations 2016-07-14 15:59:00 +0000 | |||
294 | @@ -1,3 +1,1 @@ | |||
298 | 1 | debian/00_remove_decor_in_unity_session.py | 1 | debian/00_remove_obsolete_plugins_in_unity_session_v1.py |
296 | 2 | debian/00_remove_scalefilter_in_unity_session.py | ||
297 | 3 | debian/00_remove_gnomecompat_in_unity_session.py | ||
299 | 4 | 2 | ||
300 | === modified file 'debian/compizconfig' | |||
301 | --- debian/compizconfig 2015-02-04 22:20:18 +0000 | |||
302 | +++ debian/compizconfig 2016-07-14 15:59:00 +0000 | |||
303 | @@ -20,3 +20,8 @@ | |||
304 | 20 | plugin_list_autosort = true | 20 | plugin_list_autosort = true |
305 | 21 | profile = unity | 21 | profile = unity |
306 | 22 | 22 | ||
307 | 23 | [general_ubuntu-lowgfx] | ||
308 | 24 | backend = gsettings | ||
309 | 25 | integration = true | ||
310 | 26 | plugin_list_autosort = true | ||
311 | 27 | profile = unity-lowgfx | ||
312 | 23 | 28 | ||
313 | === added file 'debian/unity-lowgfx.ini' | |||
314 | --- debian/unity-lowgfx.ini 1970-01-01 00:00:00 +0000 | |||
315 | +++ debian/unity-lowgfx.ini 2016-07-14 15:59:00 +0000 | |||
316 | @@ -0,0 +1,47 @@ | |||
317 | 1 | [core] | ||
318 | 2 | s0_active_plugins = core;composite;opengl;copytex;compiztoolbox;vpswitch;snap;mousepoll;resize;place;move;wall;grid;regex;imgpng;session;fade;unitymtgrabhandles;workarounds;scale;expo;ezoom;unityshell | ||
319 | 3 | |||
320 | 4 | [ezoom] | ||
321 | 5 | s0_speed = 100 | ||
322 | 6 | |||
323 | 7 | [expo] | ||
324 | 8 | s0_expo_animation = 3 | ||
325 | 9 | |||
326 | 10 | [fade] | ||
327 | 11 | s0_fade_mode = 1 | ||
328 | 12 | s0_fade_time = 1 | ||
329 | 13 | |||
330 | 14 | [grid] | ||
331 | 15 | s0_animation_duration = 1 | ||
332 | 16 | |||
333 | 17 | [resize] | ||
334 | 18 | s0_mode = 2 | ||
335 | 19 | |||
336 | 20 | [opengl] | ||
337 | 21 | s0_texture_filter = 0 | ||
338 | 22 | |||
339 | 23 | [scale] | ||
340 | 24 | s0_skip_animation = true | ||
341 | 25 | |||
342 | 26 | [unityshell] | ||
343 | 27 | s0_low_graphics_mode = true | ||
344 | 28 | s0_dash_blur_experimental = 0 | ||
345 | 29 | |||
346 | 30 | s0_override_decoration_theme = true | ||
347 | 31 | s0_shadow_x_offset = 1 | ||
348 | 32 | s0_shadow_y_offset = 1 | ||
349 | 33 | s0_active_shadow_radius = 3 | ||
350 | 34 | s0_inactive_shadow_radius = 2 | ||
351 | 35 | |||
352 | 36 | s0_menus_fadein = 0 | ||
353 | 37 | s0_menus_fadeout = 0 | ||
354 | 38 | s0_menus_discovery_fadein = 0 | ||
355 | 39 | s0_menus_discovery_fadeout = 0 | ||
356 | 40 | |||
357 | 41 | s0_autohide_animation = 1 | ||
358 | 42 | |||
359 | 43 | [wall] | ||
360 | 44 | s0_slide_duration = 0 | ||
361 | 45 | |||
362 | 46 | [showdesktop] | ||
363 | 47 | s0_skip_animation = true | ||
364 | 0 | 48 | ||
365 | === modified file 'plugins/composite/src/privates.h' | |||
366 | --- plugins/composite/src/privates.h 2013-02-28 03:39:31 +0000 | |||
367 | +++ plugins/composite/src/privates.h 2016-07-14 15:59:00 +0000 | |||
368 | @@ -142,7 +142,6 @@ | |||
369 | 142 | { | 142 | { |
370 | 143 | public: | 143 | public: |
371 | 144 | PrivateCompositeWindow (CompWindow *w, CompositeWindow *cw); | 144 | PrivateCompositeWindow (CompWindow *w, CompositeWindow *cw); |
372 | 145 | ~PrivateCompositeWindow (); | ||
373 | 146 | 145 | ||
374 | 147 | void windowNotify (CompWindowNotify n); | 146 | void windowNotify (CompWindowNotify n); |
375 | 148 | void resizeNotify (int dx, int dy, int dwidth, int dheight); | 147 | void resizeNotify (int dx, int dy, int dwidth, int dheight); |
376 | @@ -156,11 +155,7 @@ | |||
377 | 156 | void allowFurtherRebindAttempts (); | 155 | void allowFurtherRebindAttempts (); |
378 | 157 | bool frozen (); | 156 | bool frozen (); |
379 | 158 | 157 | ||
385 | 159 | static void handleDamageRect (CompositeWindow *w, | 158 | static void handleDamageRect (CompositeWindow *w, XRectangle const& rect); |
381 | 160 | int x, | ||
382 | 161 | int y, | ||
383 | 162 | int width, | ||
384 | 163 | int height); | ||
386 | 164 | 159 | ||
387 | 165 | public: | 160 | public: |
388 | 166 | CompWindow *window; | 161 | CompWindow *window; |
389 | @@ -179,9 +174,7 @@ | |||
390 | 179 | unsigned short brightness; | 174 | unsigned short brightness; |
391 | 180 | unsigned short saturation; | 175 | unsigned short saturation; |
392 | 181 | 176 | ||
396 | 182 | XRectangle *damageRects; | 177 | std::vector<XRectangle> damageRects; |
394 | 183 | int sizeDamage; | ||
395 | 184 | int nDamage; | ||
397 | 185 | 178 | ||
398 | 186 | private: | 179 | private: |
399 | 187 | 180 | ||
400 | 188 | 181 | ||
401 | === modified file 'plugins/composite/src/window.cpp' | |||
402 | --- plugins/composite/src/window.cpp 2013-04-13 13:53:39 +0000 | |||
403 | +++ plugins/composite/src/window.cpp 2016-07-14 15:59:00 +0000 | |||
404 | @@ -115,20 +115,11 @@ | |||
405 | 115 | overlayWindow (false), | 115 | overlayWindow (false), |
406 | 116 | opacity (OPAQUE), | 116 | opacity (OPAQUE), |
407 | 117 | brightness (BRIGHT), | 117 | brightness (BRIGHT), |
412 | 118 | saturation (COLOR), | 118 | saturation (COLOR) |
409 | 119 | damageRects (0), | ||
410 | 120 | sizeDamage (0), | ||
411 | 121 | nDamage (0) | ||
413 | 122 | { | 119 | { |
414 | 123 | WindowInterface::setHandler (w); | 120 | WindowInterface::setHandler (w); |
415 | 124 | } | 121 | } |
416 | 125 | 122 | ||
417 | 126 | PrivateCompositeWindow::~PrivateCompositeWindow () | ||
418 | 127 | { | ||
419 | 128 | if (sizeDamage) | ||
420 | 129 | free (damageRects); | ||
421 | 130 | } | ||
422 | 131 | |||
423 | 132 | bool | 123 | bool |
424 | 133 | PrivateCompositeWindow::bind () | 124 | PrivateCompositeWindow::bind () |
425 | 134 | { | 125 | { |
426 | @@ -405,32 +396,14 @@ | |||
427 | 405 | CompositeWindow::processDamage (XDamageNotifyEvent *de) | 396 | CompositeWindow::processDamage (XDamageNotifyEvent *de) |
428 | 406 | { | 397 | { |
429 | 407 | if (priv->window->syncWait ()) | 398 | if (priv->window->syncWait ()) |
445 | 408 | { | 399 | priv->damageRects.push_back (de->area); |
431 | 409 | if (priv->nDamage == priv->sizeDamage) | ||
432 | 410 | { | ||
433 | 411 | priv->damageRects = (XRectangle *) realloc (priv->damageRects, | ||
434 | 412 | (priv->sizeDamage + 1) * | ||
435 | 413 | sizeof (XRectangle)); | ||
436 | 414 | priv->sizeDamage += 1; | ||
437 | 415 | } | ||
438 | 416 | |||
439 | 417 | priv->damageRects[priv->nDamage].x = de->area.x; | ||
440 | 418 | priv->damageRects[priv->nDamage].y = de->area.y; | ||
441 | 419 | priv->damageRects[priv->nDamage].width = de->area.width; | ||
442 | 420 | priv->damageRects[priv->nDamage].height = de->area.height; | ||
443 | 421 | priv->nDamage++; | ||
444 | 422 | } | ||
446 | 423 | else | 400 | else |
449 | 424 | priv->handleDamageRect (this, de->area.x, de->area.y, | 401 | priv->handleDamageRect (this, de->area); |
448 | 425 | de->area.width, de->area.height); | ||
450 | 426 | } | 402 | } |
451 | 427 | 403 | ||
452 | 428 | void | 404 | void |
453 | 429 | PrivateCompositeWindow::handleDamageRect (CompositeWindow *w, | 405 | PrivateCompositeWindow::handleDamageRect (CompositeWindow *w, |
458 | 430 | int x, | 406 | XRectangle const& rect) |
455 | 431 | int y, | ||
456 | 432 | int width, | ||
457 | 433 | int height) | ||
459 | 434 | { | 407 | { |
460 | 435 | if (!w->priv->redirected) | 408 | if (!w->priv->redirected) |
461 | 436 | return; | 409 | return; |
462 | @@ -440,15 +413,15 @@ | |||
463 | 440 | if (!w->priv->damaged) | 413 | if (!w->priv->damaged) |
464 | 441 | w->priv->damaged = initial = true; | 414 | w->priv->damaged = initial = true; |
465 | 442 | 415 | ||
467 | 443 | if (!w->damageRect (initial, CompRect (x, y, width, height))) | 416 | if (!w->damageRect (initial, CompRect (rect.x, rect.y, rect.width, rect.height))) |
468 | 444 | { | 417 | { |
469 | 445 | const CompWindow::Geometry &geom = w->priv->window->geometry (); | 418 | const CompWindow::Geometry &geom = w->priv->window->geometry (); |
470 | 446 | 419 | ||
473 | 447 | x += geom.x () + geom.border (); | 420 | int x = rect.x + geom.x () + geom.border (); |
474 | 448 | y += geom.y () + geom.border (); | 421 | int y = rect.y + geom.y () + geom.border (); |
475 | 449 | 422 | ||
476 | 450 | w->priv->cScreen->damageRegion (CompRegion (CompRect | 423 | w->priv->cScreen->damageRegion (CompRegion (CompRect |
478 | 451 | (x, y, width, height))); | 424 | (x, y, rect.width, rect.height))); |
479 | 452 | } | 425 | } |
480 | 453 | 426 | ||
481 | 454 | if (initial) | 427 | if (initial) |
482 | @@ -565,17 +538,10 @@ | |||
483 | 565 | 538 | ||
484 | 566 | case CompWindowNotifySyncAlarm: | 539 | case CompWindowNotifySyncAlarm: |
485 | 567 | { | 540 | { |
487 | 568 | XRectangle *rects; | 541 | for (XRectangle const& rect : damageRects) |
488 | 542 | PrivateCompositeWindow::handleDamageRect (cWindow, rect); | ||
489 | 569 | 543 | ||
499 | 570 | rects = damageRects; | 544 | damageRects.clear(); |
491 | 571 | while (nDamage--) | ||
492 | 572 | { | ||
493 | 573 | PrivateCompositeWindow::handleDamageRect (cWindow, | ||
494 | 574 | rects[nDamage].x, | ||
495 | 575 | rects[nDamage].y, | ||
496 | 576 | rects[nDamage].width, | ||
497 | 577 | rects[nDamage].height); | ||
498 | 578 | } | ||
500 | 579 | break; | 545 | break; |
501 | 580 | } | 546 | } |
502 | 581 | 547 | ||
503 | 582 | 548 | ||
504 | === modified file 'plugins/expo/expo.xml.in' | |||
505 | --- plugins/expo/expo.xml.in 2016-05-17 02:52:54 +0000 | |||
506 | +++ plugins/expo/expo.xml.in 2016-07-14 15:59:00 +0000 | |||
507 | @@ -95,7 +95,7 @@ | |||
508 | 95 | <_long>The animation used when initiating or leaving Expo.</_long> | 95 | <_long>The animation used when initiating or leaving Expo.</_long> |
509 | 96 | <default>0</default> | 96 | <default>0</default> |
510 | 97 | <min>0</min> | 97 | <min>0</min> |
512 | 98 | <max>2</max> | 98 | <max>3</max> |
513 | 99 | <desc> | 99 | <desc> |
514 | 100 | <value>0</value> | 100 | <value>0</value> |
515 | 101 | <_name>Zoom</_name> | 101 | <_name>Zoom</_name> |
516 | @@ -108,6 +108,10 @@ | |||
517 | 108 | <value>2</value> | 108 | <value>2</value> |
518 | 109 | <_name>Vortex</_name> | 109 | <_name>Vortex</_name> |
519 | 110 | </desc> | 110 | </desc> |
520 | 111 | <desc> | ||
521 | 112 | <value>3</value> | ||
522 | 113 | <_name>None</_name> | ||
523 | 114 | </desc> | ||
524 | 111 | </option> | 115 | </option> |
525 | 112 | </group> | 116 | </group> |
526 | 113 | <group> | 117 | <group> |
527 | 114 | 118 | ||
528 | === modified file 'plugins/expo/src/expo.cpp' | |||
529 | --- plugins/expo/src/expo.cpp 2016-05-17 02:53:00 +0000 | |||
530 | +++ plugins/expo/src/expo.cpp 2016-07-14 15:59:00 +0000 | |||
531 | @@ -402,10 +402,18 @@ | |||
532 | 402 | float val = (static_cast <float> (msSinceLastPaint) / 1000.0f) / | 402 | float val = (static_cast <float> (msSinceLastPaint) / 1000.0f) / |
533 | 403 | optionGetZoomTime (); | 403 | optionGetZoomTime (); |
534 | 404 | 404 | ||
539 | 405 | if (expoMode) | 405 | if (optionGetExpoAnimation() != ExpoScreen::ExpoAnimationNone) { |
540 | 406 | expoCam = MIN (1.0, expoCam + val); | 406 | if (expoMode) |
541 | 407 | else | 407 | expoCam = MIN (1.0, expoCam + val); |
542 | 408 | expoCam = MAX (0.0, expoCam - val); | 408 | else |
543 | 409 | expoCam = MAX (0.0, expoCam - val); | ||
544 | 410 | } | ||
545 | 411 | else { | ||
546 | 412 | if (expoMode) | ||
547 | 413 | expoCam = 1; | ||
548 | 414 | else | ||
549 | 415 | expoCam = 0; | ||
550 | 416 | } | ||
551 | 409 | 417 | ||
552 | 410 | if (expoCam) | 418 | if (expoCam) |
553 | 411 | { | 419 | { |
554 | 412 | 420 | ||
555 | === modified file 'plugins/gnomecompat/gnomecompat.xml.in' | |||
556 | --- plugins/gnomecompat/gnomecompat.xml.in 2015-10-26 17:15:43 +0000 | |||
557 | +++ plugins/gnomecompat/gnomecompat.xml.in 2016-07-14 15:59:00 +0000 | |||
558 | @@ -11,6 +11,9 @@ | |||
559 | 11 | <plugin>opengl</plugin> | 11 | <plugin>opengl</plugin> |
560 | 12 | <plugin>decor</plugin> | 12 | <plugin>decor</plugin> |
561 | 13 | </relation> | 13 | </relation> |
562 | 14 | <conflict> | ||
563 | 15 | <plugin>unityshell</plugin> | ||
564 | 16 | </conflict> | ||
565 | 14 | </deps> | 17 | </deps> |
566 | 15 | <options> | 18 | <options> |
567 | 16 | <option name="main_menu_key" type="key"> | 19 | <option name="main_menu_key" type="key"> |
568 | 17 | 20 | ||
569 | === modified file 'plugins/scale/scale.xml.in' | |||
570 | --- plugins/scale/scale.xml.in 2016-05-17 02:52:54 +0000 | |||
571 | +++ plugins/scale/scale.xml.in 2016-07-14 15:59:00 +0000 | |||
572 | @@ -139,6 +139,11 @@ | |||
573 | 139 | <_name>On all output devices</_name> | 139 | <_name>On all output devices</_name> |
574 | 140 | </desc> | 140 | </desc> |
575 | 141 | </option> | 141 | </option> |
576 | 142 | <option name="skip_animation" type="bool"> | ||
577 | 143 | <_short>Skip Animation</_short> | ||
578 | 144 | <_long>Skips the scale plugin animation.</_long> | ||
579 | 145 | <default>false</default> | ||
580 | 146 | </option> | ||
581 | 142 | </group> | 147 | </group> |
582 | 143 | <group> | 148 | <group> |
583 | 144 | <_short>Bindings</_short> | 149 | <_short>Bindings</_short> |
584 | 145 | 150 | ||
585 | === modified file 'plugins/scale/src/scale.cpp' | |||
586 | --- plugins/scale/src/scale.cpp 2016-05-17 02:52:54 +0000 | |||
587 | +++ plugins/scale/src/scale.cpp 2016-07-14 15:59:00 +0000 | |||
588 | @@ -932,9 +932,11 @@ | |||
589 | 932 | if (state != ScaleScreen::Idle && state != ScaleScreen::Wait) | 932 | if (state != ScaleScreen::Idle && state != ScaleScreen::Wait) |
590 | 933 | { | 933 | { |
591 | 934 | int steps; | 934 | int steps; |
595 | 935 | float amount, chunk; | 935 | float amount, chunk, speed; |
596 | 936 | 936 | ||
597 | 937 | amount = msSinceLastPaint * 0.05f * optionGetSpeed (); | 937 | speed = optionGetSkipAnimation() ? USHRT_MAX : optionGetSpeed(); |
598 | 938 | |||
599 | 939 | amount = msSinceLastPaint * 0.05f * speed; | ||
600 | 938 | steps = amount / (0.5f * optionGetTimestep ()); | 940 | steps = amount / (0.5f * optionGetTimestep ()); |
601 | 939 | 941 | ||
602 | 940 | if (!steps) | 942 | if (!steps) |
603 | 941 | 943 | ||
604 | === modified file 'plugins/showdesktop/showdesktop.xml.in' | |||
605 | --- plugins/showdesktop/showdesktop.xml.in 2013-04-27 15:56:23 +0000 | |||
606 | +++ plugins/showdesktop/showdesktop.xml.in 2016-07-14 15:59:00 +0000 | |||
607 | @@ -100,6 +100,11 @@ | |||
608 | 100 | <_long>Window types that should be moved out of sight when entering showdesktop-mode.</_long> | 100 | <_long>Window types that should be moved out of sight when entering showdesktop-mode.</_long> |
609 | 101 | <default>type=toolbar | type=utility | type=dialog | type=normal</default> | 101 | <default>type=toolbar | type=utility | type=dialog | type=normal</default> |
610 | 102 | </option> | 102 | </option> |
611 | 103 | <option name="skip_animation" type="bool"> | ||
612 | 104 | <_short>Skip Animation</_short> | ||
613 | 105 | <_long>Skips the showdesktop animation.</_long> | ||
614 | 106 | <default>false</default> | ||
615 | 107 | </option> | ||
616 | 103 | </group> | 108 | </group> |
617 | 104 | <group> | 109 | <group> |
618 | 105 | <_short>Appearance</_short> | 110 | <_short>Appearance</_short> |
619 | 106 | 111 | ||
620 | === modified file 'plugins/showdesktop/src/showdesktop.cpp' | |||
621 | --- plugins/showdesktop/src/showdesktop.cpp 2013-05-09 13:43:07 +0000 | |||
622 | +++ plugins/showdesktop/src/showdesktop.cpp 2016-07-14 15:59:00 +0000 | |||
623 | @@ -614,10 +614,21 @@ | |||
624 | 614 | (state == SD_STATE_DEACTIVATING)) | 614 | (state == SD_STATE_DEACTIVATING)) |
625 | 615 | { | 615 | { |
626 | 616 | int steps; | 616 | int steps; |
631 | 617 | float amount, chunk; | 617 | float amount, chunk, speed, timestep; |
632 | 618 | 618 | ||
633 | 619 | amount = msSinceLastPaint * 0.05f * optionGetSpeed (); | 619 | if (optionGetSkipAnimation()) |
634 | 620 | steps = amount / (0.5f * optionGetTimestep ()); | 620 | { |
635 | 621 | speed = USHRT_MAX; | ||
636 | 622 | timestep = 0.1; | ||
637 | 623 | } | ||
638 | 624 | else | ||
639 | 625 | { | ||
640 | 626 | speed = optionGetSpeed(); | ||
641 | 627 | timestep = optionGetTimestep(); | ||
642 | 628 | } | ||
643 | 629 | |||
644 | 630 | amount = msSinceLastPaint * 0.05f * speed; | ||
645 | 631 | steps = amount / (0.5f * timestep); | ||
646 | 621 | if (!steps) | 632 | if (!steps) |
647 | 622 | steps = 1; | 633 | steps = 1; |
648 | 623 | chunk = amount / (float)steps; | 634 | chunk = amount / (float)steps; |
649 | 624 | 635 | ||
650 | === modified file 'src/plugin.cpp' | |||
651 | --- src/plugin.cpp 2015-10-26 17:15:43 +0000 | |||
652 | +++ src/plugin.cpp 2016-07-14 15:59:00 +0000 | |||
653 | @@ -132,60 +132,6 @@ | |||
654 | 132 | } | 132 | } |
655 | 133 | 133 | ||
656 | 134 | static bool | 134 | static bool |
657 | 135 | setOpenGLPluginEnvironment () | ||
658 | 136 | { | ||
659 | 137 | /* | ||
660 | 138 | * Check if the hardware is adequate for Unity and if not, use LLVMpipe. | ||
661 | 139 | * Unfortunately the design of Mesa requires that this be done before | ||
662 | 140 | * libGL is loaded, which means before the opengl plugin is loaded. | ||
663 | 141 | */ | ||
664 | 142 | bool toggledLLVM = false; | ||
665 | 143 | |||
666 | 144 | if (!getenv ("LIBGL_ALWAYS_SOFTWARE")) | ||
667 | 145 | { | ||
668 | 146 | const char *profile = getenv ("COMPIZ_CONFIG_PROFILE"); | ||
669 | 147 | if (profile && strcmp (profile, "ubuntu") == 0) | ||
670 | 148 | { | ||
671 | 149 | int result = system ("/usr/lib/nux/unity_support_test"); | ||
672 | 150 | int status = WEXITSTATUS (result); | ||
673 | 151 | compLogMessage ("core", CompLogLevelInfo, | ||
674 | 152 | "Unity is %s", | ||
675 | 153 | status == 0 ? "fully supported by your hardware." : | ||
676 | 154 | status == 127 ? "undetectable" : | ||
677 | 155 | "not supported by your hardware. " | ||
678 | 156 | "Enabling software rendering instead (slow)."); | ||
679 | 157 | if (status > 0 && status < 127) | ||
680 | 158 | { | ||
681 | 159 | setenv ("LIBGL_ALWAYS_SOFTWARE", "1", 1); | ||
682 | 160 | toggledLLVM = true; | ||
683 | 161 | } | ||
684 | 162 | } | ||
685 | 163 | } | ||
686 | 164 | |||
687 | 165 | return toggledLLVM; | ||
688 | 166 | } | ||
689 | 167 | |||
690 | 168 | static void | ||
691 | 169 | unsetUnityshellPluginEnvironment () | ||
692 | 170 | { | ||
693 | 171 | unsetenv ("LIBGL_ALWAYS_SOFTWARE"); | ||
694 | 172 | } | ||
695 | 173 | |||
696 | 174 | static void | ||
697 | 175 | setPluginEnvironment (const char *name) | ||
698 | 176 | { | ||
699 | 177 | if (strcmp (name, "opengl") == 0) | ||
700 | 178 | setOpenGLPluginEnvironment (); | ||
701 | 179 | } | ||
702 | 180 | |||
703 | 181 | static void | ||
704 | 182 | unsetPluginEnvironment (const char *name) | ||
705 | 183 | { | ||
706 | 184 | if (strcmp (name, "unityshell") == 0) | ||
707 | 185 | unsetUnityshellPluginEnvironment (); | ||
708 | 186 | } | ||
709 | 187 | |||
710 | 188 | static bool | ||
711 | 189 | dlloaderLoadPlugin (CompPlugin *p, | 135 | dlloaderLoadPlugin (CompPlugin *p, |
712 | 190 | const char *path, | 136 | const char *path, |
713 | 191 | const char *name) | 137 | const char *name) |
714 | @@ -197,8 +143,6 @@ | |||
715 | 197 | if (cloaderLoadPlugin (p, path, name)) | 143 | if (cloaderLoadPlugin (p, path, name)) |
716 | 198 | return true; | 144 | return true; |
717 | 199 | 145 | ||
718 | 200 | setPluginEnvironment (name); | ||
719 | 201 | |||
720 | 202 | if (path) | 146 | if (path) |
721 | 203 | { | 147 | { |
722 | 204 | file = path; | 148 | file = path; |
723 | @@ -269,8 +213,6 @@ | |||
724 | 269 | if (!loaded && dlhand) | 213 | if (!loaded && dlhand) |
725 | 270 | dlclose (dlhand); | 214 | dlclose (dlhand); |
726 | 271 | 215 | ||
727 | 272 | unsetPluginEnvironment (name); | ||
728 | 273 | |||
729 | 274 | return loaded; | 216 | return loaded; |
730 | 275 | } | 217 | } |
731 | 276 | 218 |