[begin abstraction of view modifiers
raph.levien@gmail.com**20060513222504] {
hunk ./x3.h 71
+#define X3_SHIFT_MASK GDK_SHIFT_MASK
+#define X3_CONTROL_MASK GDK_CONTROL_MASK
+#define X3_ALT_MASK GDK_MOD1_MASK
+/* there is no X3_CMD_MASK in gtk */
+
hunk ./x3.h 138
+#define X3_SHIFT_MASK shiftKey
+#define X3_CONTROL_MASK controlKey
+#define X3_CMD_MASK cmdKey
+#define X3_ALT_MASK optionKey
+
+/* todo: figure out how to plumb mouse event */
+#define X3_BUTTON1_MASK 0
+#define X3_2BUTTON_PRESS 0
+#define X3_3BUTTON_PRESS 0
+
hunk ./x3carbon.c 852
-	    /* todo: get new mods */
+	    mods = GetCurrentEventKeyModifiers();
+	    if (inData->vc && inData->vc->mouse)
+		inData->vc->mouse(inData->vc, 0, mods, where.x, where.y);
}
