Index: views/window/window_win.cc |
=================================================================== |
--- views/window/window_win.cc (revision 17419) |
+++ views/window/window_win.cc (working copy) |
@@ -191,6 +191,13 @@ |
} // namespace |
void WindowWin::FrameTypeChanged() { |
+ // If we're not on Aero Glass, we don't care doing any of the DWM stuff. Just |
+ // tell the NCV to update and leave it there. |
+ if (!win_util::ShouldUseVistaFrame()) { |
+ non_client_view_->UpdateFrame(); |
+ return; |
+ } |
+ |
// The window may try to paint in SetUseNativeFrame, and as a result it can |
// get into a state where it is very unhappy with itself - rendering black |
// behind the entire client area. This is because for some reason the |
Property changes on: views\window\window_win.cc |
___________________________________________________________________ |
Modified: svn:mergeinfo |
Merged /trunk/src/views/window/window_win.cc:r17503 |