[dev] wmii fix changing resolution

From: Ming Wang <wangjiaoming_AT_hotmail.com>
Date: Fri, 1 Apr 2011 13:23:14 +0000

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
host. It is very annoying that WMII quits and X terminates and all my
windows in the guest are lost. So here's a patch that works fine for me.

Received on Fri Apr 01 2011 - 15:23:14 CEST

This archive was generated by hypermail 2.2.0 : Fri Apr 01 2011 - 15:36:03 CEST