Revision: 12836
          http://sourceforge.net/p/skim-app/code/12836
Author:   hofman
Date:     2022-04-09 09:24:16 +0000 (Sat, 09 Apr 2022)
Log Message:
-----------
Explicitly check for resizable window for dragging presentation window

Modified Paths:
--------------
    trunk/SKPDFView.m

Modified: trunk/SKPDFView.m
===================================================================
--- trunk/SKPDFView.m   2022-04-09 09:19:00 UTC (rev 12835)
+++ trunk/SKPDFView.m   2022-04-09 09:24:16 UTC (rev 12836)
@@ -1742,7 +1742,7 @@
             [self setActiveAnnotation:nil];
         } else if ((area & kPDFLinkArea)) {
             [super mouseDown:theEvent];
-        } else if ([[self window] styleMask] != NSBorderlessWindowMask && 
[NSApp willDragMouse]) {
+        } else if (([[self window] styleMask] & NSResizableWindowMask) != 0 && 
[NSApp willDragMouse]) {
             [[NSCursor closedHandCursor] set];
             [self doDragWindowWithEvent:theEvent];
         } else {

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



_______________________________________________
Skim-app-commit mailing list
Skim-app-commit@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/skim-app-commit

Reply via email to