AlexE,

You should put "int event_mask...." after "nabi->root_winwow...."
statement, something like the below.

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

    screen = gdk_drawable_get_screen(GDK_DRAWABLE(widget->window));
    nabi->root_window = gdk_screen_get_root_window(screen);
    int event_mask = gdk_window_get_events(nabi->root_window) | 
GDK_PROPERTY_CHANGE_MASK;
    gdk_window_set_events(nabi->root_window, event_mask);
    gdk_window_add_filter(nabi->root_window, root_window_event_filter, NULL);
}

-- 
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
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to