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

Use floating point instead of int for dragging windows #4

Closed
Philipp-M opened this issue Feb 1, 2015 · 1 comment
Closed

Use floating point instead of int for dragging windows #4

Philipp-M opened this issue Feb 1, 2015 · 1 comment
Labels

Comments

@Philipp-M
Copy link

Hey there, nice project.
Looks quite nice already(loliwm)
I was just playing around a little bit with it, and found an issue while moving a window. If moving the cursor slowly while dragging a window, it wont move(I think because delta values under 0 are cut to 0), also after moving a window a lot, the cursor seems to go other ways than the window, it kinda drifts away. My experience says, that it is a float to int typecast issue(had some similar issues playing with touch and android).

@Cloudef
Copy link
Owner

Cloudef commented Feb 1, 2015

Good point. I already fixed similar issue with subpixel mouse movement.
I should do the same here as well.

(And yes, it is fixed point issue, since velocities from pointer are floating point)

Btw, unless you develop with wlc, open future issues in loliwm project.

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

No branches or pull requests

2 participants