[dev] wmii fix changing resolution

2011-04-01 Thread Ming Wang
Sometimes when the screen changes resolution, WMII fails an assert in x11.c reshapewin() and quits (instead of dynamically rearranging the windows to fit the new screen size). This typically happens when using WMII in a VMWare or VirtualBox guest, and changing the size of the window in the

Re: [dev] wmii fix changing resolution

2011-04-01 Thread Suraj Kurapati
On Fri, Apr 1, 2011 at 6:23 AM, Ming Wang wangjiaom...@hotmail.com wrote: So here's a patch that works fine for me. http://pastebin.com/WkPJfxaK It seems your patch is against wmii 3.9.2. Did you see if the problem occurs with wmii built from its source repository? An equivalent of your patch