(unless haiku-dnd-selection-value
(error "No local value for XdndSelection"))
(let ((message nil)
+ (mouse-highlight nil)
(haiku-signal-invalid-refs nil))
(dolist (target targets)
(let ((selection-converter (cdr (assoc (intern target)
#include <stdlib.h>
-bool haiku_dnd_in_progress;
static void haiku_lisp_to_message (Lisp_Object, void *);
DEFUN ("haiku-selection-data", Fhaiku_selection_data, Shaiku_selection_data,
haiku_unwind_drag_message (void *message)
{
BMessage_delete (message);
- haiku_dnd_in_progress = false;
}
DEFUN ("haiku-drag-message", Fhaiku_drag_message, Shaiku_drag_message,
if (!FRAME_VISIBLE_P (f))
error ("Frame is invisible");
- haiku_dnd_in_progress = true;
be_message = be_create_simple_message ();
record_unwind_protect_ptr (haiku_unwind_drag_message, be_message);
#define HAVE_CHAR_CACHE_MAX 65535
extern int popup_activated_p;
-extern bool haiku_dnd_in_progress;
extern void be_app_quit (void);