Commit e1de9a1980f4c4674a783ea84314f8fadbb9519f

Authored by ksamak
1 parent feb2cdfe

ezoom: added hard dependancy to showmouse, since xml before/after aren't enough

plugins/ezoom/CMakeLists.txt
... ... @@ -2,4 +2,4 @@ find_package (Compiz REQUIRED)
2 2  
3 3 include (CompizPlugin)
4 4  
5   -compiz_plugin (ezoom PLUGINDEPS composite opengl mousepoll focuspoll)
  5 +compiz_plugin (ezoom PLUGINDEPS composite opengl mousepoll focuspoll showmouse)
... ...
plugins/ezoom/ezoom.xml.in
... ... @@ -18,6 +18,7 @@
18 18 <plugin>opengl</plugin>
19 19 <plugin>mousepoll</plugin>
20 20 <plugin>focuspoll</plugin>
  21 + <plugin>showmouse</plugin>
21 22 </requirement>
22 23 </deps>
23 24 <_short>Enhanced Zoom Desktop</_short>
... ...
plugins/ezoom/src/ezoom.cpp
... ... @@ -2112,7 +2112,8 @@ ZoomPluginVTable::init ()
2112 2112 CompPlugin::checkPluginABI ("composite", COMPIZ_COMPOSITE_ABI) &&
2113 2113 CompPlugin::checkPluginABI ("opengl", COMPIZ_OPENGL_ABI) &&
2114 2114 CompPlugin::checkPluginABI ("mousepoll", COMPIZ_MOUSEPOLL_ABI) &&
2115   - CompPlugin::checkPluginABI ("focuspoll", COMPIZ_MOUSEPOLL_ABI))
  2115 + CompPlugin::checkPluginABI ("focuspoll", COMPIZ_FOCUSPOLL_ABI) &&
  2116 + CompPlugin::checkPluginABI ("showmouse", COMPIZ_SHOWMOUSE_ABI))
2116 2117 return true;
2117 2118  
2118 2119 return false;
... ...
plugins/ezoom/src/ezoom.h
... ... @@ -44,6 +44,7 @@
44 44 #include <opengl/opengl.h>
45 45 #include <mousepoll/mousepoll.h>
46 46 #include <focuspoll/focuspoll.h>
  47 +#include <showmouse/showmouse.h>
47 48  
48 49 #include "ezoom_options.h"
49 50  
... ...