Skip to content

Conversation

ismaell
Copy link
Contributor

@ismaell ismaell commented Jul 29, 2022

Tiling window managers can force the window size to be larger than
supported by con_x11, causing either an early abort at ConSetSize,
or if compiled with NDEBUG, a segmentation fault down the road.

Instead, just cap X and Y to their maximums. The only consequence is that
the window is not fully utilised.

Tiling window managers can force the window size to be larger than
supported, causing either an early abort at ConSetSize, or if compiled
with NDEBUG, a segmentation fault down the road.

Instead, just cap X and Y to their maximums. The only consequence is that
the window is not fully utilised.
@lanurmi lanurmi merged commit b55b46d into lanurmi:master Jul 31, 2022
@lanurmi
Copy link
Owner

lanurmi commented Jul 31, 2022

Thanks!

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