aboutsummaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
authorSimon Ser <contact@emersion.fr>2019-11-16 18:31:33 +0100
committerDrew DeVault <sir@cmpwn.com>2019-11-25 09:01:46 -0500
commit5cde35923cafe1630dc6b1113c593d2200a1e4b5 (patch)
tree9c6b15aed08aaff885a8bce0a865d2b49ac43889 /examples
parentbcd5f7d259690b547d9858d201b1126df78c6451 (diff)
Simplify globals implementation by removing destructors
Some globals are static and it doesn't make sense to destroy them before the wl_display. For instance, wl_compositor should be created before the display is started and shouldn't be destroyed. For these globals, we can simplify the code by removing the destructor and stop keeping track of wl_resources (these will be destroyed with the wl_display by libwayland).
Diffstat (limited to 'examples')
0 files changed, 0 insertions, 0 deletions