]> git.corax.cc Git - mwm/commit
main: Keep a pointer to the mwm instance in a global variable
authorMatthias Kruk <m@m10k.eu>
Tue, 18 May 2021 23:15:16 +0000 (08:15 +0900)
committerMatthias Kruk <m@m10k.eu>
Tue, 18 May 2021 23:15:16 +0000 (08:15 +0900)
commitd2ddb56f1fef223872cde14fed7f525f98753806
treee5564b8149d913c6a2d3f8f0ceedcbd7cdce75cd
parent650c6ecfc0fffea4cd60816d31a364989992396a
main: Keep a pointer to the mwm instance in a global variable

There are cases when we cannot pass a pointer to the mwm context
directly. In these cases, we will need to refer to the mwm instance
through a global variable. This commit adds the global reference.
main.c