Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

When switching vts, wlc_output_created_cb is called without corresponding wlc_output_destroyed_cb #97

Open
WLCIssuesBot opened this issue May 3, 2017 · 0 comments

Comments

@WLCIssuesBot
Copy link
Collaborator

Issue by Pamelloes
Friday Apr 28, 2017 at 20:51 GMT
Originally opened as Cloudef/wlc#261


wlc_output_created_cb is called once when I start up wlc with a matching call to wlc_output_destroyed_cb when wlc gets shut down.
However, each time I switch vts away from wlc and then switch back, wlc_output_created_cb gets called again.
I added a check to wlc_get_outputs, and each time there is still only one output reported (which is correct).
I haven't had an opportunity to examine the source yet so I don't quite know what's going on, but if I had to speculate, I would say that either the output is being destroyed without a wlc_output_destroyed_cb call when the vt is disabled or the wlc_output_created_cb is called each time the vt is activated despite a new output not necessarily being created.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant