Skip to content

Conversation

@MaxGyver83
Copy link

@MaxGyver83 MaxGyver83 commented Oct 6, 2024

Hi @cMardc,

this project is a great demonstration of how to use some X11 libraries!

I have noticed one issue, maybe specific to my tiling window manager (dwm):

When the actual window/canvas is larger than the requested size (WIDTH*HEIGHT), it's possible to draw on the whole canvas but when I press the C key, only an area of WIDTH*HEIGHT is cleared:

2024-10-06 17 23 31 1045x1026 Window

This pull request fixes this by using the actual window size in clearScreen.

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.

1 participant