Mention the 'same display' requirement in the docs too

This commit is contained in:
Matthias Clasen 2014-10-28 00:44:33 -04:00
parent eedff39413
commit d1dcac85f3

View File

@ -6063,11 +6063,15 @@ gdk_window_get_cursor (GdkWindow *window)
* @window: a #GdkWindow * @window: a #GdkWindow
* @cursor: (allow-none): a cursor * @cursor: (allow-none): a cursor
* *
* Sets the default mouse pointer for a #GdkWindow. Use gdk_cursor_new_for_display() * Sets the default mouse pointer for a #GdkWindow.
* or gdk_cursor_new_from_pixbuf() to create the cursor. To make the cursor *
* invisible, use %GDK_BLANK_CURSOR. Passing %NULL for the @cursor argument * Note that @cursor must be for the same display as @window.
* to gdk_window_set_cursor() means that @window will use the cursor of its *
* parent window. Most windows should use this default. * Use gdk_cursor_new_for_display() or gdk_cursor_new_from_pixbuf() to
* create the cursor. To make the cursor invisible, use %GDK_BLANK_CURSOR.
* Passing %NULL for the @cursor argument to gdk_window_set_cursor() means
* that @window will use the cursor of its parent window. Most windows
* should use this default.
*/ */
void void
gdk_window_set_cursor (GdkWindow *window, gdk_window_set_cursor (GdkWindow *window,