Unfortunately, this didn't work for me.

Here is my install_event_filter():


static void
install_event_filter(GtkWidget *widget)
{
    GdkScreen *screen;

    int event_mask = gdk_window_get_events(nabi->root_window) |
GDK_PROPERTY_CHANGE_MASK; // new, idea from launchpad

    screen = gdk_drawable_get_screen(GDK_DRAWABLE(widget->window));
    nabi->root_window = gdk_screen_get_root_window(screen);
    //gdk_window_set_events(nabi->root_window, GDK_PROPERTY_CHANGE_MASK);
    gdk_window_set_events(nabi->root_window, event_mask); // idea from lanchpad
    gdk_window_add_filter(nabi->root_window, root_window_event_filter, NULL);
}

Any ideas?

-- 
nabi is not visible in notification area
https://bugs.launchpad.net/bugs/444167
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to