I managed to get a non-gtk app to integrate with the
taskswitcher. Here's a screenshot:
http://www.twpo.com.au/cwarrens/n770/mandelbrot.jpeg
Non-gtk apps just needs to use _NET_ACTIVE_WINDOW
and _NET_CLIENT_LIST atoms, as well as following the
maemo integration instructions.
Also, this code in property_notify_handler() in windowmanager.c
is a problem since gdk_get_default_root_window isn't correct
in a non-gtk app context:
if (determine_window_type(pev->window) != NORMAL_WINDOW &&
pev->window != GDK_WINDOW_XID(gdk_get_default_root_window()) ) {
gdk_error_trap_pop();
return;
}
When the icon is pressed the wm sends _NET_ACTIVE_WINDOW
to the app. presumably the app then needs to intercept this
message and bring its self to the top.
Regards,
Chris
_______________________________________________
maemo-developers mailing list
[email protected]
https://maemo.org/mailman/listinfo/maemo-developers