Revision: 6500
          http://skim-app.svn.sourceforge.net/skim-app/?rev=6500&view=rev
Author:   hofman
Date:     2010-04-29 15:08:40 +0000 (Thu, 29 Apr 2010)

Log Message:
-----------
make snapshot and secondary pdfview key on mousedown

Modified Paths:
--------------
    trunk/SKSecondaryPDFView.m
    trunk/SKSnapshotPDFView.m

Modified: trunk/SKSecondaryPDFView.m
===================================================================
--- trunk/SKSecondaryPDFView.m  2010-04-28 17:15:34 UTC (rev 6499)
+++ trunk/SKSecondaryPDFView.m  2010-04-29 15:08:40 UTC (rev 6500)
@@ -552,6 +552,7 @@
 #pragma mark Dragging
 
 - (void)mouseDown:(NSEvent *)theEvent{
+    [[self window] makeFirstResponder:self];
        if ((NSCommandKeyMask | NSShiftKeyMask) == ([theEvent modifierFlags] & 
(NSCommandKeyMask | NSShiftKeyMask))) {
         // eat up mouseDragged/mouseUp events, so we won't get their event 
handlers
         while (YES) {

Modified: trunk/SKSnapshotPDFView.m
===================================================================
--- trunk/SKSnapshotPDFView.m   2010-04-28 17:15:34 UTC (rev 6499)
+++ trunk/SKSnapshotPDFView.m   2010-04-29 15:08:40 UTC (rev 6500)
@@ -405,6 +405,7 @@
 #pragma mark Dragging
 
 - (void)mouseDown:(NSEvent *)theEvent{
+    [[self window] makeFirstResponder:self];
        if ((NSCommandKeyMask | NSShiftKeyMask) == ([theEvent modifierFlags] & 
(NSCommandKeyMask | NSShiftKeyMask))) {
         // eat up mouseDragged/mouseUp events, so we won't get their event 
handlers
         while (YES) {


This was sent by the SourceForge.net collaborative development platform, the 
world's largest Open Source development site.

------------------------------------------------------------------------------
_______________________________________________
Skim-app-commit mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/skim-app-commit

Reply via email to