diff --git a/src/servers/app/ServerWindow.cpp b/src/servers/app/ServerWindow.cpp index ee1315070f..69560f9313 100644 --- a/src/servers/app/ServerWindow.cpp +++ b/src/servers/app/ServerWindow.cpp @@ -715,6 +715,21 @@ void ServerWindow::DispatchMessage(int32 code, LinkMsgReader &link) } break; } + case AS_LAYER_COPY_BITS: + { + BRect src; + BRect dest; + + link.Read(&src); + link.Read(&dest); + + src = cl->ConvertToTop(src); + dest = cl->ConvertToTop(dest); + + cl->fDriver->CopyBits(src, dest, cl->fLayerData); + + break; + } case AS_SET_CURRENT_LAYER: { int32 token;