bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#16058: 24.3.50; X protocol error: BadAlloc...


From: Dmitry Antipov
Subject: bug#16058: 24.3.50; X protocol error: BadAlloc...
Date: Mon, 09 Dec 2013 21:11:50 +0400
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.1.1

On 12/09/2013 08:43 PM, Eli Zaretskii wrote:

[2:text/x-patch Hide Save:invalidate_desired_row_bug16058.patch (356B)]

=== modified file 'src/xdisp.c'
--- src/xdisp.c 2013-12-04 18:46:47 +0000
+++ src/xdisp.c 2013-12-09 08:30:57 +0000
@@ -11937,6 +11937,8 @@
    int max_x = it->last_visible_x;
    struct glyph *last;

+  /* Don't extend on a previously drawn tool bar items (Bug#16058).  */
+  row->enabled_p = 0;
    prepare_desired_row (row);
    row->y = it->current_y;

Isn't it better to just call clear_glyph_row explicitly?

Hm...not sure, what about enabling enabled_p and preserving reversed_p?

And, of course, thanks for reviewing it.

Dmitry







reply via email to

[Prev in Thread] Current Thread [Next in Thread]