summaryrefslogtreecommitdiff
path: root/src/Event.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/Event.c')
-rw-r--r--src/Event.c14
1 files changed, 7 insertions, 7 deletions
diff --git a/src/Event.c b/src/Event.c
index dadcede..b423eeb 100644
--- a/src/Event.c
+++ b/src/Event.c
@@ -86,7 +86,7 @@ typedef struct _XtEventRecExt {
#define NonMaskableMask ((EventMask)0x80000000L)
/*
- * These are definitions to make the code that handles exposure compresssion
+ * These are definitions to make the code that handles exposure compression
* easier to read.
*
* COMP_EXPOSE - The compression exposure field of "widget"
@@ -212,7 +212,7 @@ RemoveEventHandler(Widget widget,
/* p->mask specifies count of EXT_SELECT_DATA(p,i)
* search through the list of selection data, if not found
- * dont remove this handler
+ * don't remove this handler
*/
for (i = 0; i < p->mask && select_data != EXT_SELECT_DATA(p, i);)
i++;
@@ -265,9 +265,9 @@ RemoveEventHandler(Widget widget,
* adding the event handlers.
* Arguments: widget - widget to register an event handler for.
* eventMask - events to mask for.
- * other - pass non maskable events to this proceedure.
- * proc - proceedure to register.
- * closure - data to pass to the event hander.
+ * other - pass non maskable events to this procedure.
+ * proc - procedure to register.
+ * closure - data to pass to the event handler.
* position - where to add this event handler.
* force_new_position - If the element is already in the
* list, this will force it to the
@@ -955,7 +955,7 @@ static void AddExposureToRectangularRegion(XEvent *, Region);
/* Function Name: CompressExposures
* Description: Handles all exposure compression
* Arguments: event - the xevent that is to be dispatched
- * widget - the widget that this event occured in.
+ * widget - the widget that this event occurred in.
* Returns: none.
*
* NOTE: Event must be of type Expose or GraphicsExpose.
@@ -1123,7 +1123,7 @@ _XtEventInitialize(void)
* Description: Sets the x, y, width, and height of the event
* to be the clip box of Expose Region.
* Arguments: event - the X Event to mangle; Expose or GraphicsExpose.
- * widget - the widget that this event occured in.
+ * widget - the widget that this event occurred in.
* pd - the per display information for this widget.
* Returns: none.
*/