Mercurial > hg > xemacs-beta
comparison src/frame-x.c @ 191:ecf6ba7b0a10 r20-3b22
Import from CVS: tag r20-3b22
author | cvs |
---|---|
date | Mon, 13 Aug 2007 09:57:38 +0200 |
parents | 3d6bfa290dbd |
children | acd284d43ca1 |
comparison
equal
deleted
inserted
replaced
190:e9f9de458416 | 191:ecf6ba7b0a10 |
---|---|
1183 | 1183 |
1184 struct gcpro gcpro1, gcpro2, gcpro3, gcpro4; | 1184 struct gcpro gcpro1, gcpro2, gcpro3, gcpro4; |
1185 | 1185 |
1186 if (!DndIsDropMessage(event)) /* the better way */ | 1186 if (!DndIsDropMessage(event)) /* the better way */ |
1187 { | 1187 { |
1188 #if 0 | |
1188 stderr_out("DndDropHandler: pseudo drop received (ignore me!)\n"); | 1189 stderr_out("DndDropHandler: pseudo drop received (ignore me!)\n"); |
1190 #endif | |
1189 return; | 1191 return; |
1190 } | 1192 } |
1191 | 1193 |
1192 Type = DndDataType (event); | 1194 Type = DndDataType (event); |
1193 DndGetData (&Data, &Size); | 1195 DndGetData (&Data, &Size); |
1194 | 1196 |
1195 GCPRO4 (path, frame, dnd_data, dnd_type); | 1197 GCPRO4 (path, frame, dnd_data, dnd_type); |
1196 | 1198 |
1197 frame = make_frame ((struct frame *) data); | 1199 frame = make_frame ((struct frame *) data); |
1198 | 1200 #if 0 |
1199 stderr_out("DndDropHandler: valid drop received (T%d S%u)\n",Type,Size); | 1201 stderr_out("DndDropHandler: valid drop received (T%d S%u)\n",Type,Size); |
1200 | 1202 #endif |
1201 switch (Type) | 1203 switch (Type) |
1202 { | 1204 { |
1203 case DndFiles: | 1205 case DndFiles: |
1204 while (*Data) | 1206 while (*Data) |
1205 { | 1207 { |