Skip to content

Floating mode doesn't work on swayΒ #47

@mtvrsh

Description

@mtvrsh

I'm running current main.
With --restricted flag it works for some sizes.

$ wl-kbptr -o modes=floating,click -o mode_floating.source=detect
warn: Could not open config file '/home/mtvrs/.config/wl-kbptr/config'
*** BUG ***
In create_bits_image_internal: The expression bits == NULL || (rowstride_bytes % sizeof (uint32_t)) == 0 was false
Set a breakpoint on '_pixman_log_error' to debug

err: Failed to create pixman image.

I looked around and made quick fix:
mtvrsh@2068ffc
With this commit floating mode reliably works and floating mode with --restrict flag fails much less.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingquestionFurther information is requested

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions