Add some more cases to handle window unusual size request
commit18a539b372fe6713708f72c94f3b3879134bf285
authorDavid Maciejak <david.maciejak@gmail.com>
Thu, 16 Mar 2023 11:15:56 +0000 (16 19:15 +0800)
committerCarlos R. Mafra <crmafra@gmail.com>
Thu, 16 Mar 2023 15:02:18 +0000 (16 15:02 +0000)
tree658a3a18a037622e313ee57cb01d94e4eed8f5b1
parenteae9200c5dd5f5b63278e874c28d3ca9e891fd1f
Add some more cases to handle window unusual size request

As discussed on the ML, the test to check for CARD16 limit is probably innacurate.
Check instead for maxH and maxW which are set by default to twice the size
of the screen or to the max values passed by the window normal hints property.
src/window.c