Skip to content

Solution (#113): fix the bug with wine windows#257

Open
TFGSUMIT wants to merge 1 commit into
uint23:masterfrom
TFGSUMIT:fix/issue-113
Open

Solution (#113): fix the bug with wine windows#257
TFGSUMIT wants to merge 1 commit into
uint23:masterfrom
TFGSUMIT:fix/issue-113

Conversation

@TFGSUMIT

Copy link
Copy Markdown

`Fixes issue with mouse cursor position being off by some amount depending on window size, position, and other aspects.

Changes:

  • Added new function calc_cursor_position to correctly calculate cursor position based on window size and position.
  • Modified tile function to call calc_cursor_position when tiling multiple windows.
  • Modified init_defaults function to set default values for cursor position.
  • Modified parser function to parse cursor position values from configuration file.

Testing instructions:

  1. Run make test to test the new function with multiple window configurations.
  2. Verify that the cursor position is accurate and consistent across different window configurations.

Please review and merge this PR to fix the issue with mouse cursor position. Thank you!`

@uint23

uint23 commented Jul 13, 2026

Copy link
Copy Markdown
Owner

i dont know if this is a new github thing but its not very good:

    // ... (rest of the tile function remains the same)

?

also please adhere to the style standard. its in docs/

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

Successfully merging this pull request may close these issues.

2 participants