ports/x11-toolkits/como/files/patch-clang19
Jan Beich 121e40d73e x11-toolkits/como: unbreak consumers with clang 19
In file included from theseus-ship-6.2.0/main_wayland.cpp:10:
In file included from /usr/local/include/como/base/wayland/xwl_platform.h:17:
/usr/local/include/como/render/wayland/xwl_platform.h:268:19: error: no member named 'addRepaintFull' in 'xwl_platform<Base>'; did you mean 'addRepaint'?
  268 |             this->addRepaintFull();
      |                   ^
/usr/local/include/como/render/wayland/xwl_platform.h:233:10: note: 'addRepaint' declared here
  233 |     void addRepaint(QRegion const& region)
      |          ^

Reported by:	pkg-fallout
2024-11-02 15:22:42 +01:00

40 lines
922 B
Text

https://github.com/winft/como/issues/29
--- como/render/wayland/platform.h.orig 2024-10-09 12:19:16 UTC
+++ como/render/wayland/platform.h
@@ -246,16 +246,6 @@ class platform (public)
locked++;
}
- void unlock()
- {
- assert(locked > 0);
- locked--;
-
- if (!locked) {
- this->addRepaintFull();
- }
- }
-
std::unique_ptr<scene_t> create_scene()
{
auto setup_hooks = [&, this](auto scene) -> decltype(scene) {
--- como/render/wayland/xwl_platform.h.orig 2024-10-09 12:19:16 UTC
+++ como/render/wayland/xwl_platform.h
@@ -259,16 +259,6 @@ class xwl_platform (public)
locked++;
}
- void unlock()
- {
- assert(locked > 0);
- locked--;
-
- if (!locked) {
- this->addRepaintFull();
- }
- }
-
std::unique_ptr<scene_t> create_scene()
{
if (is_sw_compositing()) {