summaryrefslogtreecommitdiff
path: root/shared/cairo-util.h
diff options
context:
space:
mode:
Diffstat (limited to 'shared/cairo-util.h')
-rw-r--r--shared/cairo-util.h8
1 files changed, 7 insertions, 1 deletions
diff --git a/shared/cairo-util.h b/shared/cairo-util.h
index cce76710..7bcbc296 100644
--- a/shared/cairo-util.h
+++ b/shared/cairo-util.h
@@ -183,7 +183,13 @@ frame_pointer_motion(struct frame *frame, void *pointer, int x, int y);
void
frame_pointer_leave(struct frame *frame, void *pointer);
-/* May set:
+/* Call to indicate that a button has been pressed/released. The return
+ * value for a button release will be the same as for the corresponding
+ * press. This allows you to more easily track grabs. If you want the
+ * actual location, simply keep the location from the last
+ * frame_pointer_motion call.
+ *
+ * May set:
* FRAME_STATUS_MINIMIZE
* FRAME_STATUS_MAXIMIZE
* FRAME_STATUS_CLOSE