mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-09-08 10:39:15 +02:00
LCL-GTK2: Support SynEdit keystrokes over VNC. Issue #14716, patch from Martin/Graeme.
git-svn-id: trunk@52799 -
This commit is contained in:
parent
801a0ccb5c
commit
6c306c9322
@ -864,6 +864,7 @@ type
|
|||||||
window: PGdkWindow;
|
window: PGdkWindow;
|
||||||
send_event: gint8;
|
send_event: gint8;
|
||||||
time: guint32;
|
time: guint32;
|
||||||
|
keyval: guint;
|
||||||
constructor Create(Event: PGdkEventKey);
|
constructor Create(Event: PGdkEventKey);
|
||||||
function IsEqual(Event: PGdkEventKey): boolean;
|
function IsEqual(Event: PGdkEventKey): boolean;
|
||||||
end;
|
end;
|
||||||
@ -879,6 +880,7 @@ begin
|
|||||||
window:=Event^.window;
|
window:=Event^.window;
|
||||||
send_event:=Event^.send_event;
|
send_event:=Event^.send_event;
|
||||||
time:=Event^.time;
|
time:=Event^.time;
|
||||||
|
keyval:=Event^.keyval;
|
||||||
end;
|
end;
|
||||||
|
|
||||||
function TLCLHandledKeyEvent.IsEqual(Event: PGdkEventKey): boolean;
|
function TLCLHandledKeyEvent.IsEqual(Event: PGdkEventKey): boolean;
|
||||||
@ -886,7 +888,8 @@ begin
|
|||||||
Result:=(gdk_event_get_type(Event)=thetype)
|
Result:=(gdk_event_get_type(Event)=thetype)
|
||||||
and (window=Event^.window)
|
and (window=Event^.window)
|
||||||
and (send_event=Event^.send_event)
|
and (send_event=Event^.send_event)
|
||||||
and (time=Event^.time);
|
and (time=Event^.time)
|
||||||
|
and (keyval=Event^.keyval);
|
||||||
end;
|
end;
|
||||||
|
|
||||||
var
|
var
|
||||||
|
Loading…
Reference in New Issue
Block a user