[Ogle-devel] Re: KWin and Ogle

Havoc Pennington hp at redhat.com
Wed Jan 15 23:24:45 GMT 2003


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





More information about the kde-core-devel mailing list