Attachment "TkMacOSXWm.patch" to
ticket [2824538f]
added by
wordtech
2009-08-14 06:46:10.
--- tkMacOSXWm-bak.c 2009-08-13 19:19:15.000000000 -0400
+++ tkMacOSXWm.c 2009-08-13 19:41:37.000000000 -0400
@@ -5339,9 +5339,12 @@
[window setAcceptsMouseMovedEvents:YES];
[window setReleasedWhenClosed:NO];
[window setAutodisplay:NO];
+ //fix for metal windows so they are not draggable except on title bar
+ [window setMovableByWindowBackground:NO];
if (styleMask & NSUtilityWindowMask) {
[(NSPanel*)window setFloatingPanel:YES];
}
+
[window setDocumentEdited:NO];
wmPtr->window = window;
macWin->view = contentView;