1. Jeff Sickel
  2. drawterm-cocoa

Commits

Jeff Sickel  committed 72bf966

toggle full screen per p9p settings

  • Participants
  • Parent commits a53c734
  • Branches default

Comments (0)

Files changed (1)

File gui-osx-cocoa/screen.m

View file
 #if MAC_OS_X_VERSION_MIN_REQUIRED >= 1070
 	[w setCollectionBehavior:NSWindowCollectionBehaviorFullScreenPrimary];
 #endif
-	[w setContentMinSize:NSMakeSize(128,128)];
+	[w setContentMinSize:NSMakeSize(320,200)];
 
 	win.ofs[0] = w;
 	win.ofs[1] = [[appwin alloc] initWithContentRect:sr
 
 	m = [[NSMenu alloc] initWithTitle:@"View"];
 	item = [m addItemWithTitle:@"Enter Full Screen"
-						action:@selector(toggleFullScreen:)
+						action:@selector(calltogglefs:)
 				 keyEquivalent:@"f"];
 	[item setKeyEquivalentModifierMask:(NSCommandKeyMask | NSControlKeyMask)];
 	[i1 setSubmenu:m];