Hiding a window when clicking on the desktop


I'm currently hacking a bit on the sticky notes applet. I'm basically trying to implement what I put in the bug report [1]. I.e.

1. If you click on the panel icon for sticky notes all sticky notes come to the top. 2. If you click outside of one of the stickynotes all sticky notes become invisible. Also when you click on the desktop.
3. Double click on the panel icon creates a new sticky

I have most of it implemented already. The only thing which I haven't figured out yet is the second part of point 2. That is hiding the sticky notes when you click on the desktop.

Does anybody have an idea how I can adapt the sticky notes applet so that this can be done?



[1] http://bugzilla.gnome.org/show_bug.cgi?id=308701

[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]