From: "Jan Djärv" <jan.h.d@swipnet.se>
To: Paulie Pena IV <paulie4@gmail.com>, 18303-done@debbugs.gnu.org
Subject: bug#18303: Drag and Drop fails when Emacs window/frame is above top
Date: Sun, 07 Sep 2014 19:32:57 +0200 [thread overview]
Message-ID: <540C96C9.9030108@swipnet.se> (raw)
In-Reply-To: <CAE3KHmQc_FRPP9ucpgO+oVDrSnMjU=KJrTs2nWvgSVe8NfDQ2A@mail.gmail.com>
Den 2014-08-20 14:50, Paulie Pena IV skrev:
> If my Emacs window is above the top of my screen (which is how I usually have
> it since I don't care about the title bar, etc.), I cannot drag a file onto
> the top part of the Emacs window/frame. If I try to, I get this error:
> Not an in-range integer, float, or cons of integers
>
> I traced the problem to the "XdndPosition" cond in x-dnd-handle-xdnd, which
> calls x-send-client-message. The "list-to-send" variable has a negative y
> value, which it gets from x-dnd-get-drop-x-y. I think the way to fix this is
> to change x-send-client-message so it accepts negative x/y values, but I'm not
> sure if that's correct.
This has been fixed in the trunk. x-send-client-message accepted negative x,
but did not accept negative y.
Jan D.
next prev parent reply other threads:[~2014-09-07 17:32 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-08-20 12:50 bug#18303: Drag and Drop fails when Emacs window/frame is above top Paulie Pena IV
2014-09-07 17:32 ` Jan Djärv [this message]
2014-09-07 19:50 ` Paul Eggert
2014-09-08 5:04 ` Jan Djärv
2014-09-08 13:10 ` Paul Eggert
2014-09-08 15:18 ` Jan Djärv
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=540C96C9.9030108@swipnet.se \
--to=jan.h.d@swipnet.se \
--cc=18303-done@debbugs.gnu.org \
--cc=paulie4@gmail.com \
/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.