aboutsummaryrefslogtreecommitdiff
path: root/examples/support/ini.c
diff options
context:
space:
mode:
authorMarkus Ongyerth <ongy@ongy.net>2018-03-01 15:48:25 +0100
committerMarkus Ongyerth <ongy@ongy.net>2018-03-01 15:48:25 +0100
commit2cea4304889564e773454d9ac9e6403691b25383 (patch)
tree28afb9a33ef896321ada3edc77edbb0cb57d115c /examples/support/ini.c
parent73045a7d9dd4d26a02d5c6b9ea9013f1e938e61d (diff)
prevent current_mode null on output_enable(false)
The current mode was set to NULL to abuse it as state variable persisting DRM suspend/resume, this results resulted in a segfault on normal DPMS cycle. This reverts that change and uses the wlr_output enabled variable, which also persists and makes more sense.
Diffstat (limited to 'examples/support/ini.c')
0 files changed, 0 insertions, 0 deletions