The get_window_under_cursor() function sometimes returns a window that is not stored in the tree, causing the floating window launcher to hang indefinitely while waiting for the window to be handled. To fix this, a random node is retrieved from the tree and used as the parent of the floating window.
The get_window_under_cursor() function sometimes returns a window that is not stored in the tree, causing the floating window launcher to hang indefinitely while waiting for the window to be handled. To fix this, a random node is retrieved from the tree and used as the parent of the floating window.