From 3f6a1d8273fd6d771b8690ad550e47abe71df836 Mon Sep 17 00:00:00 2001 From: Raphael Jolly Date: Mon, 30 Nov 2020 20:22:13 +0100 Subject: [PATCH] empty --- src/main/java/linoleum/Desktop.java | 2 ++ src/main/java/linoleum/DesktopPane.java | 4 ++-- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/src/main/java/linoleum/Desktop.java b/src/main/java/linoleum/Desktop.java index 323b9d3e..7c56f8e6 100644 --- a/src/main/java/linoleum/Desktop.java +++ b/src/main/java/linoleum/Desktop.java @@ -83,6 +83,7 @@ public OpenAction() { @Override public void actionPerformed(final ActionEvent e) { + desktopPane.setRecording(false); apps.select(); contentsAction.setEnabled(true); } @@ -127,6 +128,7 @@ public FullScreenAction() { @Override public void actionPerformed(final ActionEvent e) { + desktopPane.setRecording(false); fullScreen(); } } diff --git a/src/main/java/linoleum/DesktopPane.java b/src/main/java/linoleum/DesktopPane.java index 2639f1d9..c81e4ea8 100644 --- a/src/main/java/linoleum/DesktopPane.java +++ b/src/main/java/linoleum/DesktopPane.java @@ -189,11 +189,11 @@ public boolean isReopen() { return reopen; } - private void setRecording(final boolean recording) { + void setRecording(final boolean recording) { putClientProperty("DesktopPane.recording", this.recording = recording); } - public boolean isRecording() { + boolean isRecording() { return recording; }