Skip to content

Commit

Permalink
linux tray icon
Browse files Browse the repository at this point in the history
  • Loading branch information
sblantipodi committed Sep 24, 2024
1 parent 574ee70 commit e20fe9f
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions src/main/java/org/dpsoftware/gui/TrayIconManager.java
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,6 @@
import org.dpsoftware.config.Enums;
import org.dpsoftware.config.LocalizedEnum;
import org.dpsoftware.grabber.GStreamerGrabber;
import org.dpsoftware.managers.DisplayManager;
import org.dpsoftware.managers.ManagerSingleton;
import org.dpsoftware.managers.NetworkManager;
import org.dpsoftware.managers.StorageManager;
Expand Down Expand Up @@ -368,9 +367,6 @@ public void mousePressed(MouseEvent e) {

public void mouseReleased(MouseEvent e) {
if (e.getButton() == MouseEvent.BUTTON3) {
DisplayManager displayManager = new DisplayManager();
// TODO
// int mainScreenOsScaling = (int) (displayManager.getPrimaryDisplay().getScaleX() * 100);
int mainScreenOsScaling = MainSingleton.getInstance().config.getOsScaling();
int screenHeight = (int) Toolkit.getDefaultToolkit().getScreenSize().getHeight();
Insets screenInsets = Toolkit.getDefaultToolkit().getScreenInsets(GraphicsEnvironment.getLocalGraphicsEnvironment().getDefaultScreenDevice().getDefaultConfiguration());
Expand Down

0 comments on commit e20fe9f

Please sign in to comment.