all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Paulie Pena IV <paulie4@gmail.com>
To: 18303@debbugs.gnu.org
Subject: bug#18303: Drag and Drop fails when Emacs window/frame is above top
Date: Wed, 20 Aug 2014 08:50:03 -0400	[thread overview]
Message-ID: <CAE3KHmQc_FRPP9ucpgO+oVDrSnMjU=KJrTs2nWvgSVe8NfDQ2A@mail.gmail.com> (raw)

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

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.

Thanks,
Paulie

[-- Attachment #2: Type: text/html, Size: 761 bytes --]

             reply	other threads:[~2014-08-20 12:50 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-08-20 12:50 Paulie Pena IV [this message]
2014-09-07 17:32 ` bug#18303: Drag and Drop fails when Emacs window/frame is above top Jan Djärv
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='CAE3KHmQc_FRPP9ucpgO+oVDrSnMjU=KJrTs2nWvgSVe8NfDQ2A@mail.gmail.com' \
    --to=paulie4@gmail.com \
    --cc=18303@debbugs.gnu.org \
    /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.