Chromium Code Reviews| Index: ui/base/x/x11_util.h |
| diff --git a/ui/base/x/x11_util.h b/ui/base/x/x11_util.h |
| index f9e979c4ba86febed77e58ec03511e9daeaac131..4549a21ed8a57fab533d67799f00bc4c8866e38b 100644 |
| --- a/ui/base/x/x11_util.h |
| +++ b/ui/base/x/x11_util.h |
| @@ -68,6 +68,10 @@ UI_EXPORT bool QueryRenderSupport(Display* dpy); |
| // Return the default screen number for the display |
| int GetDefaultScreen(Display* display); |
| +// TODO(xiyuan): Fix the stale XCursorCache problem properly. |
|
Ben Goodger (Google)
2011/11/14 22:07:58
I haven't followed what "properly" means... perhap
xiyuan
2011/11/14 22:47:45
Done. Updated comment to include bug number.
|
| +// A special cursor that makes GetXCursor below to clear its XCursorCache. |
| +const int kCursorClearXCursorCache = -1; |
| + |
| // Returns an X11 Cursor, sharable across the process. |
| // |cursor_shape| is an X font cursor shape, see XCreateFontCursor(). |
| UI_EXPORT Cursor GetXCursor(int cursor_shape); |