#include TERM_HEADER
#endif /* HAVE_WINDOW_SYSTEM */
-#include "font.h"
#ifdef HAVE_XWIDGETS
#include "xwidget.h"
#endif
goto consider_string_end;
break;
#endif
+
default:
/* There are no other methods defined, so this should be a bug. */
emacs_abort ();
*w->desired_matrix->method = 0;
debug_method_add (w, "optimization 1");
#endif
-#if HAVE_XWIDGETS
- //debug optimization movement issue
- //w->desired_matrix->no_scrolling_p = 1;
- //*w->desired_matrix->method = 0;
- //debug_method_add (w, "optimization 1");
-#endif
-
#ifdef HAVE_WINDOW_SYSTEM
update_window_fringes (w, 0);
#endif
if (f->fonts_changed && !(flags & TRY_WINDOW_IGNORE_FONTS_CHANGE))
return 0;
}
-#ifdef HAVE_XWIDGETS_xxx
- //currently this is needed to detect xwidget movement reliably. or probably not.
- printf("try_window\n");
- return 0;
-#endif
/* Don't let the cursor end in the scroll margins. */
if ((flags & TRY_WINDOW_CHECK_MARGINS)
return 0;
#endif
-#ifdef HAVE_XWIDGETS_xxx
- //maybe needed for proper xwidget movement
- printf("try_window_id\n");
- return -1;
-#endif
-
-
/* This is handy for debugging. */
#if 0
#define GIVE_UP(X) \
cursor_glyph = get_phys_cursor_glyph (w);
if (cursor_glyph == NULL)
return;
+
#ifdef HAVE_XWIDGETS
if (cursor_glyph->type == XWIDGET_GLYPH){
printf("tried avoiding xwidget cursor\n");