Fixes: NB#269406 - Swipe on notification doesn't bring mail UI to foreground when other application on foreground
Fixes: NB#269406 - Swipe on notification doesn't bring mail UI to foreground when other application on foreground

When you hide a toplevel window in Qt it deletes its WM_STATE property
to indicate its intent to take back full control.  However, this is only
allwed when the window is in WithdrawnState, otherwise it interferes
badly with stacking.

  * src/mwindowpropertycache.cpp (MWindowPropertyCache::windowState):
    Be robust against such attempts to drop WM_STATE when we clearly
    know that it is Normal or Iconic.

nemomobile-graveyard/mcompositor,nemomobile-graveyard/mcompositor,nemomobile-graveyard/mcompositor,nemomobile-graveyard/mcompositor,nemomobile-graveyard/mcompositor,nemomobile-graveyard/mcompositor