[haiku-webkit-commits] r453 - webkit/trunk/WebKit/haiku/WebPositive

  • From: webkit@xxxxxxxxxxxxxxx
  • To: haiku-webkit-commits@xxxxxxxxxxxxx
  • Date: Thu, 22 Apr 2010 21:22:07 +0000

Author: stippi
Date: Thu Apr 22 21:22:06 2010
New Revision: 453
URL: http://mmlr.dyndns.org/changeset/453

Log:
Add a small hack to fix the invalidation glitches in the menu bar when resizing
the window.

Modified:
   webkit/trunk/WebKit/haiku/WebPositive/BrowserWindow.cpp

Modified: webkit/trunk/WebKit/haiku/WebPositive/BrowserWindow.cpp
==============================================================================
--- webkit/trunk/WebKit/haiku/WebPositive/BrowserWindow.cpp     Thu Apr 22 
21:01:42 2010        (r452)
+++ webkit/trunk/WebKit/haiku/WebPositive/BrowserWindow.cpp     Thu Apr 22 
21:22:06 2010        (r453)
@@ -342,6 +342,10 @@
                .Add(statusGroup)
        );
 
+       // TODO: Small hack for fixing some invalidation problems with 
BMenuBar...
+       mainMenu->SetFlags(mainMenu->Flags() | B_FULL_UPDATE_ON_RESIZE);
+       mainMenu->SetViewColor(B_TRANSPARENT_COLOR);
+
        fURLInputGroup->MakeFocus(true);
 
        fMenuGroup = layoutItemFor(mainMenu);

Other related posts:

  • » [haiku-webkit-commits] r453 - webkit/trunk/WebKit/haiku/WebPositive - webkit