Re: some question with regard to GdkWindowState



Hi,

May also be worth pointing out that even if the WM honors the request
it's asynchronous, so you need to run the main loop to process the
changed state event before you could get_state() and see the new state.
Or if gdk_window_get_state() does a round trip, you don't need to run
the main loop but there is a race where you could get the property
before the WM changes it.

Havoc





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