looks like the name of the top window is "Desktop" in comment 10 instead of the name of the "real" "always on top" window.
(gdb) print GetWindowName(GetTopMostValidWindowInViewport()) $11 = {static npos = <optimized out>, _M_dataplus = {<std::allocator<char>> = {<__gnu_cxx::new_allocator<char>> = {<No data fields>}, <No data fields>}, _M_p = 0x1d4d228 "Desktop"}}
NEXT: Which window does has the name "Desktop"?
looks like the name of the top window is "Desktop" in comment 10 instead of the name of the "real" "always on top" window.
(gdb) print GetWindowName( GetTopMostValid WindowInViewpor t()) allocator< char>> = {<__gnu_ cxx::new_ allocator< char>> = {<No data fields>}, <No data fields>}, _M_p = 0x1d4d228 "Desktop"}}
$11 = {static npos = <optimized out>, _M_dataplus = {<std::
NEXT: Which window does has the name "Desktop"?