git://git.nikiroo.be
/
fanfix.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge branch 'master' of https://github.com/klamonte/jexer
[fanfix.git]
/
src
/
jexer
/
TWindow.java
diff --git
a/src/jexer/TWindow.java
b/src/jexer/TWindow.java
index 65eaa4835d342e00d1cf7065b44c5eea1b20bcce..e1d0299b5f7463cec7eec3dad3b50276f1042824 100644
(file)
--- a/
src/jexer/TWindow.java
+++ b/
src/jexer/TWindow.java
@@
-143,13
+143,13
@@
public class TWindow extends TWidget {
* If true, then the user clicked on the title bar and is moving the
* window.
*/
* If true, then the user clicked on the title bar and is moving the
* window.
*/
- pr
ivate
boolean inWindowMove = false;
+ pr
otected
boolean inWindowMove = false;
/**
* If true, then the user clicked on the bottom right corner and is
* resizing the window.
*/
/**
* If true, then the user clicked on the bottom right corner and is
* resizing the window.
*/
- pr
ivate
boolean inWindowResize = false;
+ pr
otected
boolean inWindowResize = false;
/**
* If true, then the user selected "Size/Move" (or hit Ctrl-F5) and is
/**
* If true, then the user selected "Size/Move" (or hit Ctrl-F5) and is
@@
-532,7
+532,6
@@
public class TWindow extends TWidget {
@Override
public void onMouseDown(final TMouseEvent mouse) {
this.mouse = mouse;
@Override
public void onMouseDown(final TMouseEvent mouse) {
this.mouse = mouse;
- application.setRepaint();
inKeyboardResize = false;
inKeyboardResize = false;
@@
-605,7
+604,6
@@
public class TWindow extends TWidget {
@Override
public void onMouseUp(final TMouseEvent mouse) {
this.mouse = mouse;
@Override
public void onMouseUp(final TMouseEvent mouse) {
this.mouse = mouse;
- application.setRepaint();
if ((inWindowMove) && (mouse.getMouse1())) {
// Stop moving window
if ((inWindowMove) && (mouse.getMouse1())) {
// Stop moving window
@@
-653,7
+651,6
@@
public class TWindow extends TWidget {
@Override
public void onMouseMotion(final TMouseEvent mouse) {
this.mouse = mouse;
@Override
public void onMouseMotion(final TMouseEvent mouse) {
this.mouse = mouse;
- application.setRepaint();
if (inWindowMove) {
// Move window over
if (inWindowMove) {
// Move window over