From: Arnout E. <no...@bz...> - 2011-02-12 01:36:02
|
Hi, When a frame holds multiple tabs and gets resized, all multiplexed client windows are directly resized. Some applications, such as Oracle VirtualBox, appear to send an XConfigureRequestEvent requesting the window to be raised whenever they are resized. Since http://notion.git.sourceforge.net/git/gitweb.cgi?p=notion/notion;a=commit;h=519a5fdccf5ab27e55436d11098b8631fd3f1218 we honour those requests. This, of course, makes it more obvious (and annoying) that these clients are misbehaving (at least it seems like misbehaviour to me). To prevent hitting such problems, it might make sense to resize only the visible client window and leave the hidden ones alone. When switching windows, we'd have to perform the resize on the window you switch to (if needed). Attached is a simple patch that does that. I'm not so sure I like it though: it makes switching tabs after a resize a bit slower because the resize has to be performed. On the other hand we're no longer bothered by hidden windows doing funny stuff when resizing their frame. What do you think? Kind regards, Arnout |