summaryrefslogtreecommitdiff
path: root/clients/eventdemo.c
diff options
context:
space:
mode:
authorPhilipp Brüschweiler <blei42@gmail.com>2012-08-14 11:02:39 +0200
committerKristian Høgsberg <krh@bitplanet.net>2012-08-14 10:17:06 -0400
commit850f504aa2b7e1764ebb475c25a6db790daca334 (patch)
tree02073323caf0946708cbb2b74eb8e75c04e9d701 /clients/eventdemo.c
parent90bc88c710b34f46ef89e1c5765e5f63f8e02847 (diff)
downloadweston-850f504aa2b7e1764ebb475c25a6db790daca334.tar.gz
eventdemo: fix incorrect comments
Diffstat (limited to 'clients/eventdemo.c')
-rw-r--r--clients/eventdemo.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/clients/eventdemo.c b/clients/eventdemo.c
index 22dade32..5556a754 100644
--- a/clients/eventdemo.c
+++ b/clients/eventdemo.c
@@ -90,7 +90,7 @@ struct eventdemo {
/**
* \brief CALLBACK function, Wayland requests the window to redraw.
- * \param window window to be redrawn
+ * \param widget widget to be redrawn
* \param data user data associated to the window
*
* Draws a red rectangle as demonstration of per-window data.
@@ -126,7 +126,7 @@ redraw_handler(struct widget *widget, void *data)
/**
* \brief CALLBACK function, Wayland requests the window to resize.
- * \param window window to be resized
+ * \param widget widget to be resized
* \param width desired width
* \param height desired height
* \param data user data associated to the window
@@ -205,7 +205,7 @@ key_handler(struct window *window, struct input *input, uint32_t time,
/**
* \brief CALLBACK function, Wayland informs about button event
- * \param window window
+ * \param widget widget
* \param input input device that caused the button event
* \param time time the event happend
* \param button button
@@ -231,7 +231,7 @@ button_handler(struct widget *widget, struct input *input, uint32_t time,
/**
* \brief CALLBACK function, Waylands informs about pointer motion
- * \param window window
+ * \param widget widget
* \param input input device that caused the motion event
* \param time time the event happend
* \param x absolute x position