ConfigurationDebian Linux 8.2, 64bit, Xmonad 0.11When it startedI recently upgraded my system (to debian8), so I had to make some adjustments to my xmonad.hs configuration - namely changing managehooks for GStreamer'sgst-launch windows from:, title     =? gst-launch-0.10 --> doFloatto:, title     =? gst-launch-1.0 --> doFloatI'm using title instead of className because gst-launch-1.0 windows haveonly this properties:$ xprop_NET_WM_DESKTOP(CARDINAL) = 6WM_NAME(STRING) = gst-launch-1.0WM_STATE(WM_STATE):                window state: Normal                icon window: 0x0_MOTIF_WM_HINTS(_MOTIF_WM_HINTS) = 0x2, 0x0, 0x1, 0x0, 0x0WM_PROTOCOLS(ATOM): protocols  WM_DELETE_WINDOWWhat it doesI'm encountering very strange behaviour, which I haven't seen with theold gst-launch-0.10 windows. When gst-launch-1.0 window (usually quitesmall - 400x300) starts it is one of following cases with decreasingprobability:adds the window as another tile (no floating at all) and stretches itscontent to fill this tile (keeping aspect ratio), the rest of the tile isblackadds the window as another tile (no floating at all) but draws only in thetop left corner of this tile (no stretching), the rest of the tile showsX-Window backgroundwith less than 10% probability it floats the window properlyWhat I've trieddoFullFloat and doCenterFloat do exactly the same thing (except it'scentered or full in the last case)What I suspectI'm pretty sure the problem is in using only WM_NAME/title instead ofWM_CLASS/className/appName, because the title can be changed during thelifetime of the window. I think the gst-launch-1.0 window starts with someother (or none) title and after some time it switches to gst-launch-1.0.Then it's only matter of luck if xmonad catches the original title or thefinal gst-launch-1.0.QuestionIs there some way to wait a while in manageHook so I could be sure to catchthe final window WM_NAME/title ?Or any other idea?Additional info:Apparently this has been fixed in gstreamer - https://bugzilla.gnome.org/show_bug.cgi?id=750455 - but unfortunately I need to use gstreamer which comes with debian.
How to float a window which has WM_NAME but no WM_CLASS
xmonad