aboutsummaryrefslogtreecommitdiffstats
path: root/src/xwidget.c
diff options
context:
space:
mode:
authorJoakim Verona2010-09-10 12:22:44 +0200
committerJoakim Verona2010-09-10 12:22:44 +0200
commita2080bef8a6de50deaa63e2b9eb53a8cc6308d7a (patch)
treedc13434a2358a44bce6af0aa93a617dd82d5a3fb /src/xwidget.c
parent5d131913cfdb52afeec90b7bf37ba307e4d8b3b3 (diff)
downloademacs-a2080bef8a6de50deaa63e2b9eb53a8cc6308d7a.tar.gz
emacs-a2080bef8a6de50deaa63e2b9eb53a8cc6308d7a.zip
verified hypothesis that the stuck-xiwdgets-when-scrolling happens due to emacs redisplay optimizations. inhibit optimization completely for now, until some better solution is found.
Diffstat (limited to 'src/xwidget.c')
-rw-r--r--src/xwidget.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/xwidget.c b/src/xwidget.c
index 78e2e718c0b..ac00ebeff7b 100644
--- a/src/xwidget.c
+++ b/src/xwidget.c
@@ -354,10 +354,15 @@ x_draw_xwidget_glyph_string (struct glyph_string *s)
354 354
355 BUG it seems this method for some reason is called with bad s->x and s->y sometimes. 355 BUG it seems this method for some reason is called with bad s->x and s->y sometimes.
356 When this happens the xwidget doesnt move on screen as it should. 356 When this happens the xwidget doesnt move on screen as it should.
357 This maybe might perhaps be because of x_scroll_run. Maybe emacs decide to scroll the screen by blitting sometime,
358 for reasons unknown. then maybe emacs doesnt try to actualy call the paint routines, which means this here code will never
359 run so the xwidget wont know it has been moved. hmm.
357 360
361
358 BUG the phantoming code doesnt work very well when the live xwidget is off screen. 362 BUG the phantoming code doesnt work very well when the live xwidget is off screen.
359 you will get weirdo display artefacts. Composition ought to solve this, since that means the live window is 363 you will get weirdo display artefacts. Composition ought to solve this, since that means the live window is
360 always available in an off-screen buffer. My current attempt at composition doesnt work properly however. 364 always available in an off-screen buffer. My current attempt at composition doesnt work properly however.
365
361 366
362 */ 367 */
363 int box_line_hwidth = eabs (s->face->box_line_width); 368 int box_line_hwidth = eabs (s->face->box_line_width);