Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

failed to run #2

Open
klownie opened this issue Aug 5, 2023 · 3 comments
Open

failed to run #2

klownie opened this issue Aug 5, 2023 · 3 comments

Comments

@klownie
Copy link

klownie commented Aug 5, 2023

Im trying to understand how to make WM's in rust with ur project but it wont launch or work for some reason.
here's my neofetch:
image
and here's the output when i execute your project :
image

@klownie
Copy link
Author

klownie commented Aug 8, 2023

it seems to panic when it's trying to get the cursor image ?
but I dont understand why ?

@klownie
Copy link
Author

klownie commented Aug 8, 2023

i managed to go around it by setting its status to hidden. I would still like to have a solution where I dont need to set my cursor status to this.

            // Update the pointer element with the clock to determine which xcursor image to show,
            // and the cursor status. The status can be set to a surface by a window to show a
            // custom cursor set by the window.
            pointer_element.set_current_delay(&state.clock);
            pointer_element.set_status(CursorImageStatus::Hidden);

@monroeclinton
Copy link
Owner

@klownie I think for some reason your cursor is not being set properly. Can you see if there are any cursor_images set from loading the default xcursor? I would check the cursor being loaded at the cursor_path.

for image in cursor_images {

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants