imrehg / minibook

A Facebook status updater and lister in Python.
MIT License
2 stars 0 forks source link

new status notification bug on linux #33

Closed imrehg closed 15 years ago

imrehg commented 15 years ago

update notification suppression should happen when main window is shown

Windows: Alt-Tab works Linux: Alt-Tab is not enough for suppression, need to click on window

Do different events happen in the two systems? Should work the same way. On linux only tried in Xfce

imrehg commented 15 years ago

fix: removing new status notification on window activation, Closed by 2959f0ffd61f734d96b2d17e49685f4d8da7d4b4

On Linux the new status notification wasn't removed reliably when the app window was shown (going there with Alt-Tab). Removing the requirement of an EXPOSE_EVENT, and just checking window.is_active() seems to be enough. Since it is relaxed conditioning, should still work on windows too.