Changeset 7616


Ignore:
Timestamp:
Nov 9, 2007, 5:58:38 PM (12 years ago)
Author:
rme
Message:

Only send Hemlock a no-op if the left mouse button is clicked with
no modifier keys. (This fixes ticket:93)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/ccl/cocoa-ide/cocoa-editor.lisp

    r7613 r7616  
    12261226
    12271227(objc:defmethod (#/mouseDown: :void) ((self hemlock-text-view) event)
    1228   (unless (logtest #$NSCommandKeyMask (#/modifierFlags event))
     1228  ;; If no modifier keys are pressed, send hemlock a no-op.
     1229  (unless (logtest #$NSDeviceIndependentModifierFlagsMask (#/modifierFlags event))
    12291230    (let* ((q (hemlock-frame-event-queue (#/window self))))
    12301231      (hi::enqueue-key-event q #k"leftdown")))
Note: See TracChangeset for help on using the changeset viewer.