#include "frame.h"
#ifdef HAVE_XWIDGETS
-#include "xwidget.h"
-#endif /* HAVE_XWIDGETS */
+# include "xwidget.h"
+#endif
#ifdef WINDOWSNT
#include "w32heap.h" /* for mmap_* */
#endif
GCPRO1 (buffer);
kill_buffer_xwidgets (buffer);
UNGCPRO;
-#endif /* HAVE_XWIDGETS */
+#endif
/* Killing buffer processes may run sentinels which may have killed
our buffer. */
if (!BUFFER_LIVE_P (b))
#endif /* HAVE_WINDOW_SYSTEM */
#ifdef HAVE_XWIDGETS
-#include "xwidget.h"
+# include "xwidget.h"
#endif
#include <errno.h>
#include "window.h"
#ifdef HAVE_XWIDGETS
-#include "xwidget.h"
+# include "xwidget.h"
#endif
#include "systty.h"
#include "atimer.h"
#include "frame.h"
#include "xterm.h"
#ifdef HAVE_XWIDGETS
-#include "xwidget.h"
+# include "xwidget.h"
#endif
#include "emacsgtkfixed.h"
#include "font.h"
#ifdef HAVE_XWIDGETS
-#include "xwidget.h"
+# include "xwidget.h"
#endif
#include <float.h>
#include "msdos.h"
#endif
#ifdef HAVE_XWIDGETS
-#include "xwidget.h"
+# include "xwidget.h"
#endif
static int displayed_window_lines (struct window *);
#endif /* HAVE_WINDOW_SYSTEM */
#ifdef HAVE_XWIDGETS
-#include "xwidget.h"
+# include "xwidget.h"
#endif
#ifndef FRAME_X_OUTPUT
#define FRAME_X_OUTPUT(f) ((f)->output_data.x)
static int next_element_from_composition (struct it *);
static int next_element_from_image (struct it *);
#ifdef HAVE_XWIDGETS
-static int next_element_from_xwidget(struct it *);
+ static int next_element_from_xwidget(struct it *);
#endif
static int next_element_from_stretch (struct it *);
static void load_overlay_strings (struct it *, ptrdiff_t);
return 0;
#endif
-#ifdef HAVE_XWIDGETS_xxx
- //currently this is needed to detect xwidget movement reliably. or probably not.
- printf("try_window_reusing_current_matrix\n");
- return 0;
-#endif
-
-
if (/* This function doesn't handle terminal frames. */
!FRAME_WINDOW_P (f)
/* Don't try to reuse the display if windows have been split
#include "frame.h"
#include "dispextern.h"
#ifdef HAVE_XWIDGETS
-#include "xwidget.h"
+# include "xwidget.h"
#endif
#include "fontset.h"
#include "termhooks.h"
struct xwidget *xwidget_from_id (int id);
-//extern int xwidget_owns_kbd;
-
void xwidget_start_redisplay (void);
void xwidget_end_redisplay (struct window *w, struct glyph_matrix *matrix);
void xwidget_touch (struct xwidget_view *xw);
-//void assert_valid_xwidget_id(int id,char *str);
-
struct xwidget *lookup_xwidget (Lisp_Object spec);
#define XG_XWIDGET "emacs_xwidget"
#define XG_XWIDGET_VIEW "emacs_xwidget_view"