draw mouse arrows on pane split
[fanfix.git] / src / jexer / TDesktop.java
index 23edfb8568bdff997ce4314a0c1dbe0df9802c71..fd56a7fb55abbe8d3d71b0c5e6f6310aa2dd04e3 100644 (file)
@@ -3,7 +3,7 @@
  *
  * The MIT License (MIT)
  *
- * Copyright (C) 2017 Kevin Lamonte
+ * Copyright (C) 2019 Kevin Lamonte
  *
  * Permission is hereby granted, free of charge, to any person obtaining a
  * copy of this software and associated documentation files (the "Software"),
@@ -61,9 +61,8 @@ public class TDesktop extends TWindow {
      * @param parent parent application
      */
     public TDesktop(final TApplication parent) {
-
         super(parent, "", 0, 0, parent.getScreen().getWidth(),
-            parent.getScreen().getHeight() - 1);
+            parent.getDesktopBottom() - parent.getDesktopTop());
 
         setActive(false);
     }