author | X gate hg captive account <xhg@xserver.us.oracle.com> |
Wed, 19 Aug 2015 13:48:41 -0700 | |
changeset 1484 | bc8922b8e1d2 |
parent 1370 | 7a7a374453e5 |
permissions | -rw-r--r-- |
535
903fe8bb7012
6724993 Replacing the libXp with open source version from X.Org tree
Sam Lau <Sam.Lau@Sun.COM>
parents:
diff
changeset
|
1 |
--- src/Makefile.am 2008-08-26 09:58:57.225299000 -0700 |
903fe8bb7012
6724993 Replacing the libXp with open source version from X.Org tree
Sam Lau <Sam.Lau@Sun.COM>
parents:
diff
changeset
|
2 |
+++ src/Makefile.am.new 2008-08-26 10:08:24.257125000 -0700 |
903fe8bb7012
6724993 Replacing the libXp with open source version from X.Org tree
Sam Lau <Sam.Lau@Sun.COM>
parents:
diff
changeset
|
3 |
@@ -17,6 +17,7 @@ libXp_la_SOURCES = \ |
903fe8bb7012
6724993 Replacing the libXp with open source version from X.Org tree
Sam Lau <Sam.Lau@Sun.COM>
parents:
diff
changeset
|
4 |
XpPrinter.c \ |
903fe8bb7012
6724993 Replacing the libXp with open source version from X.Org tree
Sam Lau <Sam.Lau@Sun.COM>
parents:
diff
changeset
|
5 |
XpPutData.c \ |
903fe8bb7012
6724993 Replacing the libXp with open source version from X.Org tree
Sam Lau <Sam.Lau@Sun.COM>
parents:
diff
changeset
|
6 |
XpScreens.c \ |
903fe8bb7012
6724993 Replacing the libXp with open source version from X.Org tree
Sam Lau <Sam.Lau@Sun.COM>
parents:
diff
changeset
|
7 |
+ XpDpi.c \ |
903fe8bb7012
6724993 Replacing the libXp with open source version from X.Org tree
Sam Lau <Sam.Lau@Sun.COM>
parents:
diff
changeset
|
8 |
\ |
903fe8bb7012
6724993 Replacing the libXp with open source version from X.Org tree
Sam Lau <Sam.Lau@Sun.COM>
parents:
diff
changeset
|
9 |
XpExtUtil.h |
903fe8bb7012
6724993 Replacing the libXp with open source version from X.Org tree
Sam Lau <Sam.Lau@Sun.COM>
parents:
diff
changeset
|
10 |
|
903fe8bb7012
6724993 Replacing the libXp with open source version from X.Org tree
Sam Lau <Sam.Lau@Sun.COM>
parents:
diff
changeset
|
11 |
--- src/XpDpi.c 1969-12-31 16:00:00.000000000 -0800 |
903fe8bb7012
6724993 Replacing the libXp with open source version from X.Org tree
Sam Lau <Sam.Lau@Sun.COM>
parents:
diff
changeset
|
12 |
+++ src/XpDpi.c.new 2008-08-26 13:44:31.473701000 -0700 |
1370
7a7a374453e5
17472475 Mass minor bugfix update to X.Org upstream release [Sep. 2013 edition]
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
1233
diff
changeset
|
13 |
@@ -0,0 +1,101 @@ |
535
903fe8bb7012
6724993 Replacing the libXp with open source version from X.Org tree
Sam Lau <Sam.Lau@Sun.COM>
parents:
diff
changeset
|
14 |
+/* $XConsortium: XpDpi.c /main/4 1996/12/04 10:24:31 lehors $ */ |
903fe8bb7012
6724993 Replacing the libXp with open source version from X.Org tree
Sam Lau <Sam.Lau@Sun.COM>
parents:
diff
changeset
|
15 |
+/****************************************************************************** |
903fe8bb7012
6724993 Replacing the libXp with open source version from X.Org tree
Sam Lau <Sam.Lau@Sun.COM>
parents:
diff
changeset
|
16 |
+ ****************************************************************************** |
903fe8bb7012
6724993 Replacing the libXp with open source version from X.Org tree
Sam Lau <Sam.Lau@Sun.COM>
parents:
diff
changeset
|
17 |
+ ** |
903fe8bb7012
6724993 Replacing the libXp with open source version from X.Org tree
Sam Lau <Sam.Lau@Sun.COM>
parents:
diff
changeset
|
18 |
+ ** (c) Copyright 1996 Hewlett-Packard Company |
903fe8bb7012
6724993 Replacing the libXp with open source version from X.Org tree
Sam Lau <Sam.Lau@Sun.COM>
parents:
diff
changeset
|
19 |
+ ** (c) Copyright 1996 International Business Machines Corp. |
943
294f64612d23
6948254 Mass update of X gate sources to Oracle copyright format
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
535
diff
changeset
|
20 |
+ ** (c) Copyright 1996, Oracle and/or its affiliates. All rights reserved. |
535
903fe8bb7012
6724993 Replacing the libXp with open source version from X.Org tree
Sam Lau <Sam.Lau@Sun.COM>
parents:
diff
changeset
|
21 |
+ ** (c) Copyright 1996 Novell, Inc. |
903fe8bb7012
6724993 Replacing the libXp with open source version from X.Org tree
Sam Lau <Sam.Lau@Sun.COM>
parents:
diff
changeset
|
22 |
+ ** (c) Copyright 1996 Digital Equipment Corp. |
903fe8bb7012
6724993 Replacing the libXp with open source version from X.Org tree
Sam Lau <Sam.Lau@Sun.COM>
parents:
diff
changeset
|
23 |
+ ** (c) Copyright 1996 Fujitsu Limited |
903fe8bb7012
6724993 Replacing the libXp with open source version from X.Org tree
Sam Lau <Sam.Lau@Sun.COM>
parents:
diff
changeset
|
24 |
+ ** (c) Copyright 1996 Hitachi, Ltd. |
903fe8bb7012
6724993 Replacing the libXp with open source version from X.Org tree
Sam Lau <Sam.Lau@Sun.COM>
parents:
diff
changeset
|
25 |
+ ** |
903fe8bb7012
6724993 Replacing the libXp with open source version from X.Org tree
Sam Lau <Sam.Lau@Sun.COM>
parents:
diff
changeset
|
26 |
+ ** Permission is hereby granted, free of charge, to any person obtaining a copy |
903fe8bb7012
6724993 Replacing the libXp with open source version from X.Org tree
Sam Lau <Sam.Lau@Sun.COM>
parents:
diff
changeset
|
27 |
+ ** of this software and associated documentation files (the "Software"), to deal |
903fe8bb7012
6724993 Replacing the libXp with open source version from X.Org tree
Sam Lau <Sam.Lau@Sun.COM>
parents:
diff
changeset
|
28 |
+ ** in the Software without restriction, including without limitation the rights |
903fe8bb7012
6724993 Replacing the libXp with open source version from X.Org tree
Sam Lau <Sam.Lau@Sun.COM>
parents:
diff
changeset
|
29 |
+ ** to use, copy, modify, merge, publish, distribute, sublicense, and/or sell |
903fe8bb7012
6724993 Replacing the libXp with open source version from X.Org tree
Sam Lau <Sam.Lau@Sun.COM>
parents:
diff
changeset
|
30 |
+ ** copies of the Software, and to permit persons to whom the Software is |
903fe8bb7012
6724993 Replacing the libXp with open source version from X.Org tree
Sam Lau <Sam.Lau@Sun.COM>
parents:
diff
changeset
|
31 |
+ ** furnished to do so, subject to the following conditions: |
903fe8bb7012
6724993 Replacing the libXp with open source version from X.Org tree
Sam Lau <Sam.Lau@Sun.COM>
parents:
diff
changeset
|
32 |
+ ** |
903fe8bb7012
6724993 Replacing the libXp with open source version from X.Org tree
Sam Lau <Sam.Lau@Sun.COM>
parents:
diff
changeset
|
33 |
+ ** The above copyright notice and this permission notice shall be included in |
903fe8bb7012
6724993 Replacing the libXp with open source version from X.Org tree
Sam Lau <Sam.Lau@Sun.COM>
parents:
diff
changeset
|
34 |
+ ** all copies or substantial portions of the Software. |
903fe8bb7012
6724993 Replacing the libXp with open source version from X.Org tree
Sam Lau <Sam.Lau@Sun.COM>
parents:
diff
changeset
|
35 |
+ ** |
903fe8bb7012
6724993 Replacing the libXp with open source version from X.Org tree
Sam Lau <Sam.Lau@Sun.COM>
parents:
diff
changeset
|
36 |
+ ** THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR |
903fe8bb7012
6724993 Replacing the libXp with open source version from X.Org tree
Sam Lau <Sam.Lau@Sun.COM>
parents:
diff
changeset
|
37 |
+ ** IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, |
903fe8bb7012
6724993 Replacing the libXp with open source version from X.Org tree
Sam Lau <Sam.Lau@Sun.COM>
parents:
diff
changeset
|
38 |
+ ** FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE |
903fe8bb7012
6724993 Replacing the libXp with open source version from X.Org tree
Sam Lau <Sam.Lau@Sun.COM>
parents:
diff
changeset
|
39 |
+ ** COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER |
903fe8bb7012
6724993 Replacing the libXp with open source version from X.Org tree
Sam Lau <Sam.Lau@Sun.COM>
parents:
diff
changeset
|
40 |
+ ** IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN |
903fe8bb7012
6724993 Replacing the libXp with open source version from X.Org tree
Sam Lau <Sam.Lau@Sun.COM>
parents:
diff
changeset
|
41 |
+ ** CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. |
903fe8bb7012
6724993 Replacing the libXp with open source version from X.Org tree
Sam Lau <Sam.Lau@Sun.COM>
parents:
diff
changeset
|
42 |
+ ** |
903fe8bb7012
6724993 Replacing the libXp with open source version from X.Org tree
Sam Lau <Sam.Lau@Sun.COM>
parents:
diff
changeset
|
43 |
+ ** Except as contained in this notice, the names of the copyright holders shall |
903fe8bb7012
6724993 Replacing the libXp with open source version from X.Org tree
Sam Lau <Sam.Lau@Sun.COM>
parents:
diff
changeset
|
44 |
+ ** not be used in advertising or otherwise to promote the sale, use or other |
903fe8bb7012
6724993 Replacing the libXp with open source version from X.Org tree
Sam Lau <Sam.Lau@Sun.COM>
parents:
diff
changeset
|
45 |
+ ** dealings in this Software without prior written authorization from said |
903fe8bb7012
6724993 Replacing the libXp with open source version from X.Org tree
Sam Lau <Sam.Lau@Sun.COM>
parents:
diff
changeset
|
46 |
+ ** copyright holders. |
903fe8bb7012
6724993 Replacing the libXp with open source version from X.Org tree
Sam Lau <Sam.Lau@Sun.COM>
parents:
diff
changeset
|
47 |
+ ** |
903fe8bb7012
6724993 Replacing the libXp with open source version from X.Org tree
Sam Lau <Sam.Lau@Sun.COM>
parents:
diff
changeset
|
48 |
+ ****************************************************************************** |
903fe8bb7012
6724993 Replacing the libXp with open source version from X.Org tree
Sam Lau <Sam.Lau@Sun.COM>
parents:
diff
changeset
|
49 |
+ *****************************************************************************/ |
1370
7a7a374453e5
17472475 Mass minor bugfix update to X.Org upstream release [Sep. 2013 edition]
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
1233
diff
changeset
|
50 |
+#ifdef HAVE_CONFIG_H |
7a7a374453e5
17472475 Mass minor bugfix update to X.Org upstream release [Sep. 2013 edition]
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
1233
diff
changeset
|
51 |
+#include <config.h> |
7a7a374453e5
17472475 Mass minor bugfix update to X.Org upstream release [Sep. 2013 edition]
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
1233
diff
changeset
|
52 |
+#endif |
535
903fe8bb7012
6724993 Replacing the libXp with open source version from X.Org tree
Sam Lau <Sam.Lau@Sun.COM>
parents:
diff
changeset
|
53 |
+#include <X11/extensions/Printstr.h> |
1233
1134c9fd2fe6
7125797 Fix crufty code complaints uncovered by xorg-macros new tougher defaults
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
943
diff
changeset
|
54 |
+#include "XpExtUtil.h" |
535
903fe8bb7012
6724993 Replacing the libXp with open source version from X.Org tree
Sam Lau <Sam.Lau@Sun.COM>
parents:
diff
changeset
|
55 |
+#include <X11/Xlibint.h> |
1233
1134c9fd2fe6
7125797 Fix crufty code complaints uncovered by xorg-macros new tougher defaults
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
943
diff
changeset
|
56 |
+#include <X11/Xos.h> |
535
903fe8bb7012
6724993 Replacing the libXp with open source version from X.Org tree
Sam Lau <Sam.Lau@Sun.COM>
parents:
diff
changeset
|
57 |
+#include <limits.h> |
903fe8bb7012
6724993 Replacing the libXp with open source version from X.Org tree
Sam Lau <Sam.Lau@Sun.COM>
parents:
diff
changeset
|
58 |
+#ifndef WIN32 |
903fe8bb7012
6724993 Replacing the libXp with open source version from X.Org tree
Sam Lau <Sam.Lau@Sun.COM>
parents:
diff
changeset
|
59 |
+#define X_INCLUDE_PWD_H |
903fe8bb7012
6724993 Replacing the libXp with open source version from X.Org tree
Sam Lau <Sam.Lau@Sun.COM>
parents:
diff
changeset
|
60 |
+#define XOS_USE_XLIB_LOCKING |
903fe8bb7012
6724993 Replacing the libXp with open source version from X.Org tree
Sam Lau <Sam.Lau@Sun.COM>
parents:
diff
changeset
|
61 |
+#include <X11/Xos_r.h> |
903fe8bb7012
6724993 Replacing the libXp with open source version from X.Org tree
Sam Lau <Sam.Lau@Sun.COM>
parents:
diff
changeset
|
62 |
+#endif |
903fe8bb7012
6724993 Replacing the libXp with open source version from X.Org tree
Sam Lau <Sam.Lau@Sun.COM>
parents:
diff
changeset
|
63 |
+#include <limits.h> |
903fe8bb7012
6724993 Replacing the libXp with open source version from X.Org tree
Sam Lau <Sam.Lau@Sun.COM>
parents:
diff
changeset
|
64 |
+ |
903fe8bb7012
6724993 Replacing the libXp with open source version from X.Org tree
Sam Lau <Sam.Lau@Sun.COM>
parents:
diff
changeset
|
65 |
+ |
903fe8bb7012
6724993 Replacing the libXp with open source version from X.Org tree
Sam Lau <Sam.Lau@Sun.COM>
parents:
diff
changeset
|
66 |
+Bool |
903fe8bb7012
6724993 Replacing the libXp with open source version from X.Org tree
Sam Lau <Sam.Lau@Sun.COM>
parents:
diff
changeset
|
67 |
+XpClientDPI ( |
903fe8bb7012
6724993 Replacing the libXp with open source version from X.Org tree
Sam Lau <Sam.Lau@Sun.COM>
parents:
diff
changeset
|
68 |
+ Display *dpy, |
903fe8bb7012
6724993 Replacing the libXp with open source version from X.Org tree
Sam Lau <Sam.Lau@Sun.COM>
parents:
diff
changeset
|
69 |
+ int client_dpi |
903fe8bb7012
6724993 Replacing the libXp with open source version from X.Org tree
Sam Lau <Sam.Lau@Sun.COM>
parents:
diff
changeset
|
70 |
+) |
903fe8bb7012
6724993 Replacing the libXp with open source version from X.Org tree
Sam Lau <Sam.Lau@Sun.COM>
parents:
diff
changeset
|
71 |
+{ |
903fe8bb7012
6724993 Replacing the libXp with open source version from X.Org tree
Sam Lau <Sam.Lau@Sun.COM>
parents:
diff
changeset
|
72 |
+ xPrintClientDpiReq *req; |
903fe8bb7012
6724993 Replacing the libXp with open source version from X.Org tree
Sam Lau <Sam.Lau@Sun.COM>
parents:
diff
changeset
|
73 |
+ xPrintClientDpiReply rep; |
903fe8bb7012
6724993 Replacing the libXp with open source version from X.Org tree
Sam Lau <Sam.Lau@Sun.COM>
parents:
diff
changeset
|
74 |
+ XExtDisplayInfo *info = (XExtDisplayInfo *) xp_find_display (dpy); |
903fe8bb7012
6724993 Replacing the libXp with open source version from X.Org tree
Sam Lau <Sam.Lau@Sun.COM>
parents:
diff
changeset
|
75 |
+ short dpi = (short)client_dpi; |
903fe8bb7012
6724993 Replacing the libXp with open source version from X.Org tree
Sam Lau <Sam.Lau@Sun.COM>
parents:
diff
changeset
|
76 |
+ |
903fe8bb7012
6724993 Replacing the libXp with open source version from X.Org tree
Sam Lau <Sam.Lau@Sun.COM>
parents:
diff
changeset
|
77 |
+ XPContext context; |
903fe8bb7012
6724993 Replacing the libXp with open source version from X.Org tree
Sam Lau <Sam.Lau@Sun.COM>
parents:
diff
changeset
|
78 |
+ |
903fe8bb7012
6724993 Replacing the libXp with open source version from X.Org tree
Sam Lau <Sam.Lau@Sun.COM>
parents:
diff
changeset
|
79 |
+ if (XpCheckExtInit(dpy, XP_SECOND_RELEASE) == -1) |
903fe8bb7012
6724993 Replacing the libXp with open source version from X.Org tree
Sam Lau <Sam.Lau@Sun.COM>
parents:
diff
changeset
|
80 |
+ return (False); /* NoSuchExtension */ |
903fe8bb7012
6724993 Replacing the libXp with open source version from X.Org tree
Sam Lau <Sam.Lau@Sun.COM>
parents:
diff
changeset
|
81 |
+ |
903fe8bb7012
6724993 Replacing the libXp with open source version from X.Org tree
Sam Lau <Sam.Lau@Sun.COM>
parents:
diff
changeset
|
82 |
+ LockDisplay (dpy); |
903fe8bb7012
6724993 Replacing the libXp with open source version from X.Org tree
Sam Lau <Sam.Lau@Sun.COM>
parents:
diff
changeset
|
83 |
+ |
903fe8bb7012
6724993 Replacing the libXp with open source version from X.Org tree
Sam Lau <Sam.Lau@Sun.COM>
parents:
diff
changeset
|
84 |
+ GetReq(PrintClientDpi,req); |
903fe8bb7012
6724993 Replacing the libXp with open source version from X.Org tree
Sam Lau <Sam.Lau@Sun.COM>
parents:
diff
changeset
|
85 |
+ req->reqType = info->codes->major_opcode; |
903fe8bb7012
6724993 Replacing the libXp with open source version from X.Org tree
Sam Lau <Sam.Lau@Sun.COM>
parents:
diff
changeset
|
86 |
+ req->printReqType = X_PrintClientDpi; |
903fe8bb7012
6724993 Replacing the libXp with open source version from X.Org tree
Sam Lau <Sam.Lau@Sun.COM>
parents:
diff
changeset
|
87 |
+ req->clientDPI = (CARD16) dpi; |
903fe8bb7012
6724993 Replacing the libXp with open source version from X.Org tree
Sam Lau <Sam.Lau@Sun.COM>
parents:
diff
changeset
|
88 |
+ |
903fe8bb7012
6724993 Replacing the libXp with open source version from X.Org tree
Sam Lau <Sam.Lau@Sun.COM>
parents:
diff
changeset
|
89 |
+ if (! _XReply (dpy, (xReply *) &rep, 0, xTrue)) { |
903fe8bb7012
6724993 Replacing the libXp with open source version from X.Org tree
Sam Lau <Sam.Lau@Sun.COM>
parents:
diff
changeset
|
90 |
+ UnlockDisplay (dpy); |
903fe8bb7012
6724993 Replacing the libXp with open source version from X.Org tree
Sam Lau <Sam.Lau@Sun.COM>
parents:
diff
changeset
|
91 |
+ SyncHandle (); |
903fe8bb7012
6724993 Replacing the libXp with open source version from X.Org tree
Sam Lau <Sam.Lau@Sun.COM>
parents:
diff
changeset
|
92 |
+ return (False); |
903fe8bb7012
6724993 Replacing the libXp with open source version from X.Org tree
Sam Lau <Sam.Lau@Sun.COM>
parents:
diff
changeset
|
93 |
+ } |
903fe8bb7012
6724993 Replacing the libXp with open source version from X.Org tree
Sam Lau <Sam.Lau@Sun.COM>
parents:
diff
changeset
|
94 |
+ |
903fe8bb7012
6724993 Replacing the libXp with open source version from X.Org tree
Sam Lau <Sam.Lau@Sun.COM>
parents:
diff
changeset
|
95 |
+ UnlockDisplay(dpy); |
903fe8bb7012
6724993 Replacing the libXp with open source version from X.Org tree
Sam Lau <Sam.Lau@Sun.COM>
parents:
diff
changeset
|
96 |
+ SyncHandle (); |
903fe8bb7012
6724993 Replacing the libXp with open source version from X.Org tree
Sam Lau <Sam.Lau@Sun.COM>
parents:
diff
changeset
|
97 |
+ |
903fe8bb7012
6724993 Replacing the libXp with open source version from X.Org tree
Sam Lau <Sam.Lau@Sun.COM>
parents:
diff
changeset
|
98 |
+ return ( rep.status ); |
903fe8bb7012
6724993 Replacing the libXp with open source version from X.Org tree
Sam Lau <Sam.Lau@Sun.COM>
parents:
diff
changeset
|
99 |
+} |
903fe8bb7012
6724993 Replacing the libXp with open source version from X.Org tree
Sam Lau <Sam.Lau@Sun.COM>
parents:
diff
changeset
|
100 |
+ |
903fe8bb7012
6724993 Replacing the libXp with open source version from X.Org tree
Sam Lau <Sam.Lau@Sun.COM>
parents:
diff
changeset
|
101 |
+/* |
903fe8bb7012
6724993 Replacing the libXp with open source version from X.Org tree
Sam Lau <Sam.Lau@Sun.COM>
parents:
diff
changeset
|
102 |
+ * Bug 4402782: Add Sun specific propietary call until X.Org takes the |
903fe8bb7012
6724993 Replacing the libXp with open source version from X.Org tree
Sam Lau <Sam.Lau@Sun.COM>
parents:
diff
changeset
|
103 |
+ * change. |
903fe8bb7012
6724993 Replacing the libXp with open source version from X.Org tree
Sam Lau <Sam.Lau@Sun.COM>
parents:
diff
changeset
|
104 |
+ */ |
903fe8bb7012
6724993 Replacing the libXp with open source version from X.Org tree
Sam Lau <Sam.Lau@Sun.COM>
parents:
diff
changeset
|
105 |
+#ifdef SUNSOFT |
903fe8bb7012
6724993 Replacing the libXp with open source version from X.Org tree
Sam Lau <Sam.Lau@Sun.COM>
parents:
diff
changeset
|
106 |
+Bool |
903fe8bb7012
6724993 Replacing the libXp with open source version from X.Org tree
Sam Lau <Sam.Lau@Sun.COM>
parents:
diff
changeset
|
107 |
+XpClientDPI_SUNW ( |
903fe8bb7012
6724993 Replacing the libXp with open source version from X.Org tree
Sam Lau <Sam.Lau@Sun.COM>
parents:
diff
changeset
|
108 |
+ Display *dpy, |
903fe8bb7012
6724993 Replacing the libXp with open source version from X.Org tree
Sam Lau <Sam.Lau@Sun.COM>
parents:
diff
changeset
|
109 |
+ int client_dpi |
903fe8bb7012
6724993 Replacing the libXp with open source version from X.Org tree
Sam Lau <Sam.Lau@Sun.COM>
parents:
diff
changeset
|
110 |
+) |
903fe8bb7012
6724993 Replacing the libXp with open source version from X.Org tree
Sam Lau <Sam.Lau@Sun.COM>
parents:
diff
changeset
|
111 |
+{ |
903fe8bb7012
6724993 Replacing the libXp with open source version from X.Org tree
Sam Lau <Sam.Lau@Sun.COM>
parents:
diff
changeset
|
112 |
+ return XpClientDPI(dpy, client_dpi); |
903fe8bb7012
6724993 Replacing the libXp with open source version from X.Org tree
Sam Lau <Sam.Lau@Sun.COM>
parents:
diff
changeset
|
113 |
+} |
903fe8bb7012
6724993 Replacing the libXp with open source version from X.Org tree
Sam Lau <Sam.Lau@Sun.COM>
parents:
diff
changeset
|
114 |
+#endif |