> In my SDL app I set my callback using: > > osso_hw_set_display_event_cb(osso_ctx, osso_cb_display_state, NULL); > > Right after being set the callback is called with state OSSO_DISPLAY_ON. > > When the display is dimmed, goes off or on again it is unfortunately not > called anymore. Does anybody know more about this? I also tried to listen to the dbus myself which only started to work after I added this line in my SDL applications main loop:
dbus_connection_read_write_dispatch(dbusCon, 0); and when that worked it also made by registered callback being called. regards, -- Willem-Jan de Hoog _______________________________________________ maemo-developers mailing list maemo-developers@maemo.org https://lists.maemo.org/mailman/listinfo/maemo-developers