How to not trigger focus event at all only when the window showing is a popup/progress bar

Hi,
I want to not trigger any focus event on my main window when a popup or progressbar is showing using gtk.

my main window is hooked up with the focus event handler since i want to detect focus change when switching to another subwindow, but not popup window or progressbar window.

i tried set no focus event on the popup/progressbar, but that does not prevent the main window from receiving the focus out.
I feel I am now just hacking by suppressing the focus out event on the main window when the display bar is shown.

This topic was automatically closed 45 days after the last reply. New replies are no longer allowed.