summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Drake <tlsa@netsurf-browser.org>2015-08-08 09:41:43 (GMT)
committer Michael Drake <tlsa@netsurf-browser.org>2015-08-08 09:43:38 (GMT)
commite0c4d04e13cdd89c7335638b8418383efb36bff1 (patch)
tree56ab90a5e7200648da8670ef33692e8dfc0ea53f
parent277b1da1b4b6aa602c4eb1900cabaf427eb64a7f (diff)
downloadlibnslayout-e0c4d04e13cdd89c7335638b8418383efb36bff1.tar.gz
libnslayout-e0c4d04e13cdd89c7335638b8418383efb36bff1.tar.bz2
Add TODO for handling events.
-rw-r--r--src/dom/watcher.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/dom/watcher.c b/src/dom/watcher.c
index a4e8d64..e22fee1 100644
--- a/src/dom/watcher.c
+++ b/src/dom/watcher.c
@@ -100,6 +100,13 @@ static void nsl__dom_event_handler(struct dom_event *evt, void *pw)
dom_string_data(type));
}
+ /* TODO: Based on event type:
+ * 1. call to do (re)selection:
+ * a. all nodes?
+ * b. just this node?
+ * 2. call to update layout, if needed.
+ */
+
fail:
if (type != NULL) dom_string_unref(type);
if (name != NULL) dom_string_unref(name);