annotate src/dragdrop.h @ 5884:5a93f519accc

If not waiting for C-x #, don't memorise the device, #'gnuserv-edit-files lisp/ChangeLog addition: 2015-04-03 Aidan Kehoe <kehoea@parhasard.net> * gnuserv.el (gnuserv-edit-files): No need to memorise the device created for the sake of C-x #, if the client is not waiting for us. Fixes a bug in the following situation: -- Start gnuserv from an XEmacs within screen -- Call gnuclient with an X11 display available, connecting successfully to that XEmacs and creating an X11 frame -- Then call gnuclient file-name.txt, save the file, then type C-x #; this deletes all the frames on the device, which it shouldn't.
author Aidan Kehoe <kehoea@parhasard.net>
date Fri, 03 Apr 2015 00:27:59 +0100
parents 308d34e9f07d
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
282
c42ec1d1cded Import from CVS: tag r21-0b39
cvs
parents:
diff changeset
1 /* Definitions for the new drag and drop model;
c42ec1d1cded Import from CVS: tag r21-0b39
cvs
parents:
diff changeset
2 created 03-may-98 by Oliver Graf <ograf@fga.de>
c42ec1d1cded Import from CVS: tag r21-0b39
cvs
parents:
diff changeset
3 Copyright (C) 1998 Oliver Graf
c42ec1d1cded Import from CVS: tag r21-0b39
cvs
parents:
diff changeset
4
c42ec1d1cded Import from CVS: tag r21-0b39
cvs
parents:
diff changeset
5 This file is part of XEmacs.
c42ec1d1cded Import from CVS: tag r21-0b39
cvs
parents:
diff changeset
6
5402
308d34e9f07d Changed bulk of GPLv2 or later files identified by script
Mats Lidell <matsl@xemacs.org>
parents: 2367
diff changeset
7 XEmacs is free software: you can redistribute it and/or modify it
282
c42ec1d1cded Import from CVS: tag r21-0b39
cvs
parents:
diff changeset
8 under the terms of the GNU General Public License as published by the
5402
308d34e9f07d Changed bulk of GPLv2 or later files identified by script
Mats Lidell <matsl@xemacs.org>
parents: 2367
diff changeset
9 Free Software Foundation, either version 3 of the License, or (at your
308d34e9f07d Changed bulk of GPLv2 or later files identified by script
Mats Lidell <matsl@xemacs.org>
parents: 2367
diff changeset
10 option) any later version.
282
c42ec1d1cded Import from CVS: tag r21-0b39
cvs
parents:
diff changeset
11
c42ec1d1cded Import from CVS: tag r21-0b39
cvs
parents:
diff changeset
12 XEmacs is distributed in the hope that it will be useful, but WITHOUT
c42ec1d1cded Import from CVS: tag r21-0b39
cvs
parents:
diff changeset
13 ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
c42ec1d1cded Import from CVS: tag r21-0b39
cvs
parents:
diff changeset
14 FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
c42ec1d1cded Import from CVS: tag r21-0b39
cvs
parents:
diff changeset
15 for more details.
c42ec1d1cded Import from CVS: tag r21-0b39
cvs
parents:
diff changeset
16
c42ec1d1cded Import from CVS: tag r21-0b39
cvs
parents:
diff changeset
17 You should have received a copy of the GNU General Public License
5402
308d34e9f07d Changed bulk of GPLv2 or later files identified by script
Mats Lidell <matsl@xemacs.org>
parents: 2367
diff changeset
18 along with XEmacs. If not, see <http://www.gnu.org/licenses/>. */
282
c42ec1d1cded Import from CVS: tag r21-0b39
cvs
parents:
diff changeset
19
c42ec1d1cded Import from CVS: tag r21-0b39
cvs
parents:
diff changeset
20 /* Synched up with: Not in FSF. */
c42ec1d1cded Import from CVS: tag r21-0b39
cvs
parents:
diff changeset
21
398
74fd4e045ea6 Import from CVS: tag r21-2-29
cvs
parents: 282
diff changeset
22 #ifndef INCLUDED_dragdrop_h_
74fd4e045ea6 Import from CVS: tag r21-2-29
cvs
parents: 282
diff changeset
23 #define INCLUDED_dragdrop_h_
282
c42ec1d1cded Import from CVS: tag r21-0b39
cvs
parents:
diff changeset
24
c42ec1d1cded Import from CVS: tag r21-0b39
cvs
parents:
diff changeset
25 /* Drag'n'Drop data types known by XEmacs */
c42ec1d1cded Import from CVS: tag r21-0b39
cvs
parents:
diff changeset
26 extern Lisp_Object Qdragdrop_MIME;
c42ec1d1cded Import from CVS: tag r21-0b39
cvs
parents:
diff changeset
27 extern Lisp_Object Qdragdrop_URL;
c42ec1d1cded Import from CVS: tag r21-0b39
cvs
parents:
diff changeset
28
c42ec1d1cded Import from CVS: tag r21-0b39
cvs
parents:
diff changeset
29 /* External defined functions to handle Drag'n'Drop */
c42ec1d1cded Import from CVS: tag r21-0b39
cvs
parents:
diff changeset
30 extern Lisp_Object Qdragdrop_drop_dispatch;
c42ec1d1cded Import from CVS: tag r21-0b39
cvs
parents:
diff changeset
31
c42ec1d1cded Import from CVS: tag r21-0b39
cvs
parents:
diff changeset
32 /* some utility functions */
2367
ecf1ebac70d8 [xemacs-hg @ 2004-11-04 23:05:23 by ben]
ben
parents: 398
diff changeset
33 Ibyte *dnd_url_hexify_string (const Ibyte *s, const Ibyte *m);
282
c42ec1d1cded Import from CVS: tag r21-0b39
cvs
parents:
diff changeset
34
c42ec1d1cded Import from CVS: tag r21-0b39
cvs
parents:
diff changeset
35 /* emacs interface */
c42ec1d1cded Import from CVS: tag r21-0b39
cvs
parents:
diff changeset
36 void syms_of_dragdrop (void);
c42ec1d1cded Import from CVS: tag r21-0b39
cvs
parents:
diff changeset
37
398
74fd4e045ea6 Import from CVS: tag r21-2-29
cvs
parents: 282
diff changeset
38 #endif /* INCLUDED_dragdrop_h_ */