Jonas Ådahl c7976e0dbc wayland/cursor-role: Increase buffer use count on construction
We may be assigned multiple times, if the surface is assigned to be a
cursor surface multiple times. Each time e.g. wl_pointer.set_cursor is
called, we'll be assigned.

While the role object exists, we'll handle buffer use count even when
we are not actively assigned, thus we should only handle the initial
assignment use count bump when constructing, so that we don't increase
it when reassigned, where the wl_resource may already have been
released.

https://bugzilla.gnome.org/show_bug.cgi?id=770402
2016-09-01 19:39:53 +08:00
2016-08-19 11:04:48 +02:00
2015-07-06 00:52:18 -07:00
2016-08-28 11:13:33 +02:00
2014-03-18 20:37:35 -04:00
2016-08-30 00:58:08 +02:00
2016-04-27 20:37:47 +02:00
2014-07-31 17:50:28 +02:00
2016-08-30 00:58:08 +02:00
Description
94 MiB
Languages
C 98.9%
Meson 0.7%
Python 0.3%