summaryrefslogtreecommitdiff
path: root/data/cwidget/lock.diff
blob: 54a259938dc62f8b97d03432162ed7245991577c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
diff -ur cwidget-0.5.17/src/cwidget/toplevel.cc cwidget-0.5.17+iPhone/src/cwidget/toplevel.cc
--- cwidget-0.5.17/src/cwidget/toplevel.cc	2014-02-21 06:00:38.000000000 -1000
+++ cwidget-0.5.17+iPhone/src/cwidget/toplevel.cc	2018-08-30 17:10:21.000000000 -1000
@@ -1056,7 +1056,7 @@
 
     void updatecursornow()
     {
-      threads::mutex::lock(get_mutex());
+      threads::mutex::lock l(get_mutex());
 
       if(toplevel->get_cursorvisible())
 	{