[maemo-developers] osso display event callback not called back
From: W. de Hoog wdehoog at exalondelft.nlDate: Sun Mar 29 22:36:23 EEST 2009
- Previous message: osso display event callback not called back
- Next message: maemo OpenGL-ES2.0 wikipage
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
> 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
- Previous message: osso display event callback not called back
- Next message: maemo OpenGL-ES2.0 wikipage
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]