Ignore:
Timestamp:
06/14/03 09:54:54 (19 years ago)
Author:
Nicholas Riley
Message:

ICeCoffEE 1.4a1

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/ICeCoffEE/ICeCoffEE/ICeCoffEETerminal.m

    r139 r142  
    5252- (unsigned int)characterIndexForPoint:(NSPoint)thePoint { return 0; }
    5353- (NSArray*)validAttributesForMarkedText { return nil; }
    54 
    5554// NSDraggingDestination
    5655- (NSDragOperation)draggingEntered:(id <NSDraggingInfo>)sender { return NSDragOperationNone; }
    57 - (void)draggingExited:(id <NSDraggingInfo>)sender {}
    58 
    59     // misc. other stuff
     56// misc. other stuff
    6057- (void)_optionClickEvent:(NSEvent *)event:(unsigned int)row:(unsigned short)column {}
    6158- (void)setNeedsDisplay; {}
    62 
    6359@end
    6460
     
    441437- (NSDragOperation)draggingEntered:(id <NSDraggingInfo>)sender;
    442438{
    443     if ([sender draggingSource] != self || ([[NSApp currentEvent] modifierFlags] & NSAlternateKeyMask)) {
     439    if (!ICCF_prefs.terminalRequireOptionForSelfDrag || [sender draggingSource] != self || ([[NSApp currentEvent] modifierFlags] & NSAlternateKeyMask)) {
    444440        [super draggingEntered: sender];
    445441        // When doing non-self drags, this works around one bug in Terminal wherein the option key acts as a toggle, and it shouldn't (see Aqua HIG).  Unfortunately, this messes up drag feedback for self drags, but I don't know of any way to fix it.  Not that most Cocoa apps get it remotely right, anyway.
Note: See TracChangeset for help on using the changeset viewer.