Branch: refs/heads/dv/fix-disappering-windows
  Home:   https://github.com/fvwmorg/fvwm
  Commit: b1912ee1d0af84aef588bebb4b37a118a91ec6a8
      
https://github.com/fvwmorg/fvwm/commit/b1912ee1d0af84aef588bebb4b37a118a91ec6a8
  Author: Dominik Vogt <dominik.v...@gmx.de>
  Date:   2016-11-21 (Mon, 21 Nov 2016)

  Changed paths:
    M fvwm/events.c

  Log Message:
  -----------
  Fix disappearing windows.

The old patch that removed synthetic UnmapNotify events on the root window to
suppress windows in HandeMapRequestKeepRaised() being unmapped later.  However,
this also caused problems.  vmplayer windows still diasppeared when returning
from fullscreen mode.

It seems that the real problem was the XUnmapWindow in HandleUnmapNotify.
Whoever thought this was a necessary or a good idea is wron.  When we get an
UnmapNotify on a client window, the client has already unmapped it itself.
When we get a synthetic UnmapNotify on the root window the client has also
unmapped the window.  There's no need whatsoever to unmap it again, and events
caused by unmapping twice do confuse applications.


Reply via email to