Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in
Toggle navigation
N
noVNC
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
rasky
noVNC
Commits
3954ae14
Commit
3954ae14
authored
Jun 13, 2010
by
Joel Martin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix mouse focus issues.
parent
888d5813
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
10 additions
and
0 deletions
+10
-0
default_controls.js
include/default_controls.js
+7
-0
vnc.js
vnc.js
+3
-0
No files found.
include/default_controls.js
View file @
3954ae14
...
...
@@ -55,6 +55,13 @@ load: function(target) {
[
''
,
''
])[
1
];
$
(
'VNC_encrypt'
).
checked
=
(
url
.
match
(
/encrypt=
([
A-Za-z0-9
]
*
)
/
)
||
[
''
,
''
])[
1
];
$
(
'VNC_screen'
).
onmousemove
=
function
()
{
// Unfocus clipboard when over the VNC area
if
(
RFB
.
clipboardFocus
)
{
$
(
'VNC_clipboard_text'
).
blur
();
}
};
},
updateState
:
function
(
state
,
msg
)
{
...
...
vnc.js
View file @
3954ae14
...
...
@@ -1282,6 +1282,7 @@ mouseDown: function(e) {
RFB
.
mouse_arr
=
RFB
.
mouse_arr
.
concat
(
RFB
.
pointerEvent
(
x
,
y
)
);
RFB
.
flushClient
();
return
false
;
},
mouseUp
:
function
(
e
)
{
...
...
@@ -1295,6 +1296,7 @@ mouseUp: function(e) {
RFB
.
mouse_arr
=
RFB
.
mouse_arr
.
concat
(
RFB
.
pointerEvent
(
x
,
y
)
);
RFB
.
flushClient
();
return
false
;
},
mouseMove
:
function
(
e
)
{
...
...
@@ -1326,6 +1328,7 @@ mouseWheel: function (e) {
RFB
.
mouse_buttonMask
^=
bmask
;
RFB
.
mouse_arr
=
RFB
.
mouse_arr
.
concat
(
RFB
.
pointerEvent
(
x
,
y
)
);
RFB
.
flushClient
();
return
false
;
},
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment