aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/xwidget.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/xwidget.c b/src/xwidget.c
index ef9de279939..e82864e2220 100644
--- a/src/xwidget.c
+++ b/src/xwidget.c
@@ -986,6 +986,9 @@ lookup_xwidget (Lisp_Object spec)
986 /* When a xwidget lisp spec is found initialize the C struct that is used in the C code. 986 /* When a xwidget lisp spec is found initialize the C struct that is used in the C code.
987 This is done by redisplay so values change if the spec changes. 987 This is done by redisplay so values change if the spec changes.
988 So, take special care of one-shot events 988 So, take special care of one-shot events
989
990 TODO remove xwidget init from display spec. simply store an xwidget reference only and set
991 size etc when creating the xwidget, which should happen before insertion into buffer
989 */ 992 */
990 int found = 0, found1 = 0, found2 = 0; 993 int found = 0, found1 = 0, found2 = 0;
991 Lisp_Object value; 994 Lisp_Object value;