Skip to content

Commit

Permalink
Cannot open any images with wayland #462
Browse files Browse the repository at this point in the history
  • Loading branch information
nroduit committed Aug 24, 2023
1 parent 56f983b commit 3fd79e7
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -477,6 +477,9 @@ private void setExternalPosition(final DefaultSingleCDockable dockable) {
if (gd.length > 1) {
// dockable.setExternalizable(true);
Rectangle bound = WinUtil.getClosedScreenBound(rootPaneContainer.getRootPane().getBounds());
if(bound == null) {
return;
}
// LocationHint hint =
// new LocationHint(LocationHint.DOCKABLE,
// bibliothek.gui.dock.action.LocationHint.LEFT_OF_ALL);
Expand Down

0 comments on commit 3fd79e7

Please sign in to comment.