diff options
author | Nik <nikvaessen@users.noreply.github.com> | 2016-07-05 22:43:44 +0200 |
---|---|---|
committer | Ingo Bauersachs <ingo@jitsi.org> | 2016-07-05 22:43:44 +0200 |
commit | 0c3dd3e1ea95b42be4fba00c375162974f1d193e (patch) | |
tree | c5f416db93575478ee69dcab109440232ab0bc1f /src | |
parent | 5d9f0844914bb00732b5cb82670b422230499ccb (diff) | |
download | jitsi-0c3dd3e1ea95b42be4fba00c375162974f1d193e.zip jitsi-0c3dd3e1ea95b42be4fba00c375162974f1d193e.tar.gz jitsi-0c3dd3e1ea95b42be4fba00c375162974f1d193e.tar.bz2 |
call window can now be dragged (#279)
Diffstat (limited to 'src')
-rw-r--r-- | src/net/java/sip/communicator/impl/gui/main/call/PreCallDialog.java | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/net/java/sip/communicator/impl/gui/main/call/PreCallDialog.java b/src/net/java/sip/communicator/impl/gui/main/call/PreCallDialog.java index 76c4139..0d6206a 100644 --- a/src/net/java/sip/communicator/impl/gui/main/call/PreCallDialog.java +++ b/src/net/java/sip/communicator/impl/gui/main/call/PreCallDialog.java @@ -256,8 +256,12 @@ public abstract class PreCallDialog receivedCallWindow.setAlwaysOnTop(true); + // Register the JFrame so the dialog window is able to get dragged + // across the screen + ComponentMover.registerComponent(receivedCallWindow); + // prevents dialog window to get unwanted key events and when going - // on top on linux, it steals focus and if we are accidently + // on top on linux, it steals focus and if we are accidentally // writing something and pressing enter a call get answered receivedCallWindow.setFocusableWindowState(false); |