Cloudef / wlc

High-level Wayland compositor library
MIT License
331 stars 58 forks source link

wlc_set_output_context_created_cb callback is never called. #190

Closed kozec closed 8 years ago

kozec commented 8 years ago

Hello,

I found that callback set with wlc_set_output_context_createdcb method, suposedly executed "When output context is created, generally on startup and when current tty changes"_ is in fact never called.

For this example code I'm getting

$ gcc test2.c -lwlc -o a.out
$ ./a.out 
resolution changed: 3600x1080
resolution changed: 800x480
compositor_ready

... as output. WM is running (while doing nothing) as expected, but context_created is never printed.

Cloudef commented 8 years ago

This was automatically closed by the commit above, reopened until confirmed.

kozec commented 8 years ago

Thank you, I'll check it when I get back to my normal PC.

kozec commented 8 years ago

It works :)