2362N/A * Copyright (c) 2003, 2008, Oracle and/or its affiliates. All rights reserved. 0N/A * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. 0N/A * This code is free software; you can redistribute it and/or modify it 0N/A * under the terms of the GNU General Public License version 2 only, as 2362N/A * published by the Free Software Foundation. Oracle designates this 0N/A * particular file as subject to the "Classpath" exception as provided 2362N/A * by Oracle in the LICENSE file that accompanied this code. 0N/A * This code is distributed in the hope that it will be useful, but WITHOUT 0N/A * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or 0N/A * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License 0N/A * version 2 for more details (a copy is included in the LICENSE file that 0N/A * accompanied this code). 0N/A * You should have received a copy of the GNU General Public License version 0N/A * 2 along with this work; if not, write to the Free Software Foundation, 0N/A * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. 2362N/A * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA 2362N/A * or visit www.oracle.com if you need additional information or have any 0N/A * Bitmask returned by XParseGeometry(). Each bit tells if the corresponding 0N/A * value (x, y, width, height) was found in the parsed string. 0N/A * The next block of definitions are for window manager properties that 0N/A * clients and applications use for communication. 0N/A /* flags argument in size hints */ 0N/A public static final long USPosition =
1L <<
0;
/* user specified x, y */ 0N/A public static final long USSize =
1L <<
1;
/* user specified width, height */ 0N/A public static final long PPosition =
1L <<
2;
/* program specified position */ 0N/A public static final long PSize =
1L <<
3;
/* program specified size */ 0N/A public static final long PMinSize =
1L <<
4;
/* program specified minimum size */ 0N/A public static final long PMaxSize =
1L <<
5;
/* program specified maximum size */ 0N/A public static final long PResizeInc =
1L <<
6;
/* program specified resize increments */ 0N/A public static final long PAspect =
1L <<
7;
/* program specified min and max aspect ratios */ 0N/A public static final long PBaseSize =
1L <<
8;
/* program specified base for incrementing */ 0N/A public static final long PWinGravity =
1L <<
9;
/* program specified window gravity */ 0N/A /* definition for flags of XWMHints */ 0N/A /* definitions for initial window state */ 0N/A public static final int NormalState =
1 ;
/* most applications want to start this way */ 0N/A public static final int IconicState =
3 ;
/* application wants to start as an icon */ 0N/A * Obsolete states no longer defined by ICCCM 0N/A public static final int ZoomState =
2 ;
/* application wants to start zoomed */ 0N/A /* application believes it is seldom used; some wm's may put it on inactive menu */ 0N/A /* Return values from XRectInRegion() */ 0N/A * Information used by the visual utility routines to find desired visual 0N/A * type from the many visuals a display may support. 0N/A * return codes for XReadBitmapFile and XWriteBitmapFile 0N/A /**************************************************************** 0N/A * Context Management 0N/A **************************************************************** 0N/A /* Associative lookup table return codes */ 0N/A public static final int XCNOMEM =
1 ;
/* Out of memory */ 0N/A public static final int XCNOENT =
2 ;
/* No entry in table */ 0N/A // typedef int XContext;