pub fn get_cursor_window(&self) -> Result<WindowHandle<X11rbWindowHandle>> {
        let roots = self.get_roots();
        for w in roots {
            let reply = xproto::query_pointer(&self.conn, w)?.reply();
            if let Ok(reply) = reply {
                return Ok(WindowHandle(X11rbWindowHandle(reply.child)));
            }
        }
        Err(BackendError {
            src: None,
            msg: "No root window",
            backtrace: Backtrace::capture(),
            kind: ErrorKind::RootWindowNotFound,
        })
    }
Returns the current window under the cursor.
# Errors

Will error if root window cannot be found.
display-servers/x11rb-display-server/src/xwrap/getters.rs