summarylogtreecommitdiffstats
path: root/como-0001-freebsd-clang19.patch
blob: f66d25a42265f7540ac208de77132a4fa3979cb9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
https://github.com/freebsd/freebsd-ports/commit/121e40d73e58
https://github.com/winft/como/issues/29

--- a/como/render/wayland/platform.h
+++ b/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) {
--- a/como/render/wayland/xwl_platform.h
+++ b/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()) {