timgott / wayfire-shadows

Wayfire plugin that adds window shadows
MIT License
22 stars 3 forks source link

Fails to build with latest wayfire #4

Closed soreau closed 3 years ago

soreau commented 3 years ago

Without this patch, the shadows plugin fails with the following output:

In file included from ../subprojects/wayfire-shadows/deco-shadow.cpp:1:
../subprojects/wayfire-shadows/deco-shadow.hpp:17:13: error: ‘region_t’ in namespace ‘wf’ does not name a type
   17 |         wf::region_t calculate_region() const;
      |             ^~~~~~~~
../subprojects/wayfire-shadows/deco-shadow.cpp:105:5: error: ‘region_t’ in namespace ‘wf’ does not name a type
  105 | wf::region_t wf::windecor::decoration_shadow_t::calculate_region() const {
      |     ^~~~~~~~