Skip to content
Browse files
8269374: Menu inoperable after setting stage to second monitor
Backport-of: c490ddf
  • Loading branch information
Johan Vos committed Sep 22, 2021
1 parent 9bd8708 commit 483e53b4763b384532f748a71a282c07ca133208
Showing with 9 additions and 0 deletions.
  1. +9 −0 modules/
@@ -91,5 +91,14 @@ protected int _getNativeFrameBuffer(long ptr) {
@Override native protected boolean _enterFullscreen(long ptr, boolean animate, boolean keepRatio, boolean hideCursor);
@Override native protected void _exitFullscreen(long ptr, boolean animate);

protected void notifyResize(int width, int height) {
super.notifyResize(width, height);

// After resizing, do a move notification to force the view relocation.
// When moving to a screen with different DPI settings, its location needs
// to be recalculated.

1 comment on commit 483e53b


This comment has been minimized.

Copy link

@openjdk-notifier openjdk-notifier bot commented on 483e53b Sep 22, 2021

Please sign in to comment.