Skip to content


Browse files Browse the repository at this point in the history
8269374: Menu inoperable after setting stage to second monitor
Backport-of: c490ddfdb1255add00dd7b0f14fe03857c6946c5
  • Loading branch information
Johan Vos committed Aug 31, 2021
1 parent 319d2f0 commit 8037b35
Showing 1 changed file with 9 additions and 0 deletions.
Expand Up @@ -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 8037b35

Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.