all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: martin rudalics <rudalics@gmx.at>
To: politza@hochschule-trier.de, 32615@debbugs.gnu.org
Subject: bug#32615: 27.0.50; Deadly signal in make-frame
Date: Mon, 03 Sep 2018 09:29:30 +0200	[thread overview]
Message-ID: <5B8CE2DA.4080704@gmx.at> (raw)
In-Reply-To: <87sh2rvh14.fsf@hochschule-trier.de>

[-- Attachment #1: Type: text/plain, Size: 451 bytes --]

 > It seems there is a problem when a float is being used as the parameter
 > value of either `width' or `height' in a `make-frame' call: The X server
 > reports a BadDrawable error and Emacs aborts.  This behaviour occurs
 > deterministically in both window-managers I've tried, i.e. i3 and
 > fluxbox.  A backtrace follows.

Does the attached patch fix it?  If so, I'll install it on the release
branch.  OK Eli?

Many thanks for the report, martin

[-- Attachment #2: xfns.c.diff --]
[-- Type: text/plain, Size: 340 bytes --]

--- a/src/xfns.c
+++ b/src/xfns.c
@@ -5054,7 +5054,7 @@ struct mouse_cursor_data {
   int menu_bar_height = 0, menu_bar_width = 0;
   int tool_bar_height = 0, tool_bar_width = 0;
 
-  if (FRAME_INITIAL_P (f) || !FRAME_X_P (f))
+  if (FRAME_INITIAL_P (f) || !FRAME_X_P (f) || !FRAME_OUTER_WINDOW (f))
     return Qnil;
 
   block_input ();


  reply	other threads:[~2018-09-03  7:29 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-09-02 19:24 bug#32615: 27.0.50; Deadly signal in make-frame politza
2018-09-03  7:29 ` martin rudalics [this message]
2018-09-03 14:55   ` Eli Zaretskii
2018-09-04  7:50     ` martin rudalics
2018-09-05  7:52       ` martin rudalics
2018-09-05  8:14       ` Noam Postavsky
2018-09-05  8:36         ` martin rudalics

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=5B8CE2DA.4080704@gmx.at \
    --to=rudalics@gmx.at \
    --cc=32615@debbugs.gnu.org \
    --cc=politza@hochschule-trier.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.