From 0454ef3092ad211b0fc51a8468f53f61726eaf2d Mon Sep 17 00:00:00 2001 From: spider Date: Thu, 4 Jun 1998 18:39:17 +0000 Subject: [PATCH] Add Display query git-svn-id: svn://10.0.0.236/branches/TREX_WIDGET_BRANCH@3234 18797224-902f-48f8-a5cc-f745e15eee43 --- mozilla/widget/src/motif/nsWindow.cpp | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/mozilla/widget/src/motif/nsWindow.cpp b/mozilla/widget/src/motif/nsWindow.cpp index cdb9d651400..8a7c9511c50 100644 --- a/mozilla/widget/src/motif/nsWindow.cpp +++ b/mozilla/widget/src/motif/nsWindow.cpp @@ -500,6 +500,11 @@ void* nsWindow::GetNativeData(PRUint32 aDataType) { switch(aDataType) { + case NS_NATIVE_DISPLAY: + { + return (void*)XtDisplay(mWidget); + } + break; case NS_NATIVE_WINDOW: { return (void*)XtWindow(mWidget);