Reply
Thread Tools
Posts: 4 | Thanked: 0 times | Joined on Mar 2010
#1
Hi,
I'm trying to implement status area hide/show function in my app.

As i can see from hildon desktop sources, desktop process get notifications on all root window propirty changes. And in case _MB_CURRENT_APP_WINDOW atom is changed and its data != 0xFFFFFF status area should be hidden (see 'filter_property_changed' func.).

I'm trying to use that with following code:

Code:
static int hide_state_area(Display * display)
{

int data = 1;
    Atom atom = XInternAtom ( display, "_MB_CURRENT_APP_WINDOW", false );

    return XChangeProperty ( display,
            DefaultRootWindow(display),
            atom,
            (Atom) 19, //XA_INTEGER
            32,
            PropModeReplace,
            (unsigned char*)& data,
            1);
}
but without success.

What wrong with that code? Any other API to switch off status area?
 
b666m's Avatar
Posts: 1,090 | Thanked: 476 times | Joined on Jan 2010 @ Ingolstadt, Germany
#2
maybe this could be helpful for you:
http://sumoudou.org/%E7%9B%B8%E6%92%...ia%20N900.html
 
Posts: 4 | Thanked: 0 times | Joined on Mar 2010
#3
Hmm... No, i dont think so.
 
Reply

Thread Tools

 
Forum Jump


All times are GMT. The time now is 05:17.