Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
V
vte
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
42
Issues
42
List
Board
Labels
Milestones
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
GNOME
vte
Commits
473c4e71
Commit
473c4e71
authored
Feb 11, 2019
by
Egmont Koblinger
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
emulation: Do not encode keyboard modifiers in X10 mouse mode
#93
parent
97dcafab
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
11 additions
and
9 deletions
+11
-9
vte.cc
src/vte.cc
+11
-9
No files found.
src/vte.cc
View file @
473c4e71
...
...
@@ -5541,15 +5541,17 @@ Terminal::feed_mouse_event(vte::grid::coords const& rowcol /* confined */,
}
/* Encode the modifiers. */
if
(
m_modifiers
&
GDK_SHIFT_MASK
)
{
cb
|=
4
;
}
if
(
m_modifiers
&
VTE_META_MASK
)
{
cb
|=
8
;
}
if
(
m_modifiers
&
GDK_CONTROL_MASK
)
{
cb
|=
16
;
}
if
(
m_mouse_tracking_mode
>=
MOUSE_TRACKING_SEND_XY_ON_BUTTON
)
{
if
(
m_modifiers
&
GDK_SHIFT_MASK
)
{
cb
|=
4
;
}
if
(
m_modifiers
&
VTE_META_MASK
)
{
cb
|=
8
;
}
if
(
m_modifiers
&
GDK_CONTROL_MASK
)
{
cb
|=
16
;
}
}
/* Encode a drag event. */
if
(
is_drag
)
{
...
...
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