Full screen not filling second monitor in MacOS Mojave

I’m just starting out with Processing and trying to get a basic full screen window displaying on a second monitor on MacOS Mojave with this code (Processing 3.5.3, P3D renderer):

void setup() {
  fullScreen(P3D, 2);
}

void draw(){
  background(0);
}

The first display is my Macbook screen, the second is a Thunderbolt display.

The window appears edge to edge, but only covers the bottom third or so of the screen:

The window fills the display as expected with the default renderer.

One thing I noticed is something that looks like an error message down in the Processing console:

	0   AppKit                              0x00007fff49d49ccc -[NSWindow(NSWindow_Theme) _postWindowNeedsToResetDragMarginsUnlessPostingDisabled] + 386
	1   AppKit                              0x00007fff49d4707c -[NSWindow _initContent:styleMask:backing:defer:contentView:] + 1488
	2   AppKit                              0x00007fff49d46aa6 -[NSWindow initWithContentRect:styleMask:backing:defer:] + 45
	3   libnativewindow_macosx.jnilib       0x000000013259c3fe Java_jogamp_nativewindow_macosx_OSXUtil_CreateNSWindow0 + 398
	4   ???                                 0x0000000114f26a88 0x0 + 4646398600
)

Searching for the text in those messages doesn’t turn up anything immediately related that I can see.

Any idea what I’m doing wrong?

Not sure if this could help, referring to the last post from GoToLoop. Would it work if you set the screen dimensions manually based on your monitor in question?

Kf

May be related to: