| OLD | NEW |
| 1 // Copyright (c) 2010 The Chromium OS Authors. All rights reserved. | 1 // Copyright (c) 2010 The Chromium OS Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #ifndef WINDOW_MANAGER_X11_X_TYPES_H_ | 5 #ifndef WINDOW_MANAGER_X11_X_TYPES_H_ |
| 6 #define WINDOW_MANAGER_X11_X_TYPES_H_ | 6 #define WINDOW_MANAGER_X11_X_TYPES_H_ |
| 7 | 7 |
| 8 // This header contains renamed definitions of various POD types from Xlib. | 8 // This header contains renamed definitions of various POD types from Xlib. |
| 9 // Code (and headers in particular) should include this header rather than | 9 // Code (and headers in particular) should include this header rather than |
| 10 // Xlib.h whenever possible to avoid pulling in all of the additional | 10 // Xlib.h whenever possible to avoid pulling in all of the additional |
| 11 // (generically-named) stuff from Xlib. | 11 // (generically-named) stuff from Xlib. |
| 12 | 12 |
| 13 typedef unsigned long XID; | 13 typedef unsigned long XID; |
| 14 | 14 |
| 15 typedef XID KeySym; | 15 typedef XID KeySym; |
| 16 typedef XID XAtom; | 16 typedef XID XAtom; |
| 17 typedef XID XDamage; | 17 typedef XID XDamage; |
| 18 typedef XID XDrawable; | 18 typedef XID XDrawable; |
| 19 typedef XID XPicture; |
| 19 typedef XID XPixmap; | 20 typedef XID XPixmap; |
| 20 typedef XID XVisualID; | 21 typedef XID XVisualID; |
| 21 typedef XID XWindow; | 22 typedef XID XWindow; |
| 22 | 23 |
| 23 typedef unsigned char KeyCode; | 24 typedef unsigned char KeyCode; |
| 24 | 25 |
| 25 typedef unsigned long XTime; | 26 typedef unsigned long XTime; |
| 26 | 27 |
| 27 #endif | 28 #endif |
| OLD | NEW |