Re: [Ogle-devel] Re: KWin and Ogle

Havoc Pennington <[email protected]>
Newsgroups gmane.comp.kde.devel.core,gmane.comp.video.ogle.devel
Message-ID <[email protected]>
On Wed, Jan 15, 2003 at 05:10:19PM +0100, Bj|rn Englund wrote:
> 
> After a quick test it seems that the problem could be a race condition
> in kwin.
> When ogle goes to/from fullscreen it unmaps the window, waits for
> an UnmapNotify, changes the motif decorations, maps the window and
> waits for a MapNotify.
> When the disappearing window problem occurs, ogle never receives the MapNotify
> and hangs waiting for it.
> 
> When inserting a sleep(1); before the map, the problem goes away,
> which would point to a timing/race problem in kwin.
> 

Ogle should also do:

 if (window_manager_supports_net_hint ("_NET_WM_STATE_FULLSCREEN"))
   {
     use_net_fullscreen_with_no_unmapping_or_motif_hints();
   }

It shouldn't need to touch the Motif hints, or map/unmap if the WM
supports that hint.

Havoc
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.