diff --git a/src/kits/app/DesktopLink.cpp b/src/kits/app/DesktopLink.cpp index 29205fa73d..83feea6655 100644 --- a/src/kits/app/DesktopLink.cpp +++ b/src/kits/app/DesktopLink.cpp @@ -1,5 +1,5 @@ /* - * Copyright 2006, Haiku Inc. + * Copyright 2006-2009, Haiku Inc. * Distributed under the terms of the MIT License. * * Authors: @@ -7,14 +7,17 @@ */ +#include + +#include #include -#include #include namespace BPrivate { + DesktopLink::DesktopLink() : fReplyPort(B_ERROR) @@ -35,6 +38,8 @@ DesktopLink::DesktopLink() StartMessage(AS_GET_DESKTOP); Attach(fReplyPort); Attach(getuid()); + AttachString(getenv("TARGET_SCREEN")); + Attach(AS_PROTOCOL_VERSION); int32 code; if (FlushWithReply(code) != B_OK || code != B_OK) @@ -58,4 +63,5 @@ DesktopLink::InitCheck() const return fReplyPort < B_OK ? fReplyPort : B_OK; } + } // namespace BPrivate