yazeed1s / zwm

X11 tiling window manager
BSD 2-Clause "Simplified" License
73 stars 4 forks source link

fix bug where floating window requester hangs if no win under cursor … #5

Closed yazeed1s closed 5 months ago

yazeed1s commented 5 months ago

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.