Zhu, Peter J ([EMAIL PROTECTED]) wrote: > I used differnt solution. Hildon library has a special function of > hildon_window_get_is_topmost() to address this very elegantly.
Yeah, I read your second mail after I replied :) It probably depends on what you want. If you just want to check if your application is running in the foreground then this probably is the right thing to do. On the other hand if you really need the visibility state, then my approach probably works better, for example to test if a dialog or something else is on top of the window. Bye, Simon -- [EMAIL PROTECTED] http://simon.budig.de/ _______________________________________________ maemo-developers mailing list maemo-developers@maemo.org https://lists.maemo.org/mailman/listinfo/maemo-developers