diff options
Diffstat (limited to 'plugins')
| -rw-r--r-- | plugins/unity-mt-grab-handles/src/unity-mt-grab-handles.cpp | 2 | ||||
| -rw-r--r-- | plugins/unityshell/src/unityshell.cpp | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/plugins/unity-mt-grab-handles/src/unity-mt-grab-handles.cpp b/plugins/unity-mt-grab-handles/src/unity-mt-grab-handles.cpp index 08b811e02..fb78bd9d8 100644 --- a/plugins/unity-mt-grab-handles/src/unity-mt-grab-handles.cpp +++ b/plugins/unity-mt-grab-handles/src/unity-mt-grab-handles.cpp @@ -480,7 +480,7 @@ UnityMTGrabHandlesWindow::glDraw(const GLMatrix& transform, matl.push_back(mat); if (mask & PAINT_WINDOW_TRANSFORMED_MASK) - paintRegion = infiniteRegion; + paintRegion = CompRegion::infinite(); /* Now allow plugins to mess with the geometry of our * dim (so we get a nice render for things like diff --git a/plugins/unityshell/src/unityshell.cpp b/plugins/unityshell/src/unityshell.cpp index 0ecff9515..1c49cdd03 100644 --- a/plugins/unityshell/src/unityshell.cpp +++ b/plugins/unityshell/src/unityshell.cpp @@ -979,7 +979,7 @@ void UnityScreen::paintOutput() /* force the use of the core functions */ uTrayWindow->gWindow->glDrawSetCurrentIndex (MAXSHORT); uTrayWindow->gWindow->glAddGeometrySetCurrentIndex ( MAXSHORT); - uTrayWindow->gWindow->glDraw (oTransform, attrib, infiniteRegion, + uTrayWindow->gWindow->glDraw (oTransform, attrib, CompRegion::infinite (), PAINT_WINDOW_TRANSFORMED_MASK | PAINT_WINDOW_BLEND_MASK | PAINT_WINDOW_ON_TRANSFORMED_SCREEN_MASK); |
