mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-28 22:20:25 +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;
|
||||
send_event: gint8;
|
||||
time: guint32;
|
||||
keyval: guint;
|
||||
constructor Create(Event: PGdkEventKey);
|
||||
function IsEqual(Event: PGdkEventKey): boolean;
|
||||
end;
|
||||
@ -879,6 +880,7 @@ begin
|
||||
window:=Event^.window;
|
||||
send_event:=Event^.send_event;
|
||||
time:=Event^.time;
|
||||
keyval:=Event^.keyval;
|
||||
end;
|
||||
|
||||
function TLCLHandledKeyEvent.IsEqual(Event: PGdkEventKey): boolean;
|
||||
@ -886,7 +888,8 @@ begin
|
||||
Result:=(gdk_event_get_type(Event)=thetype)
|
||||
and (window=Event^.window)
|
||||
and (send_event=Event^.send_event)
|
||||
and (time=Event^.time);
|
||||
and (time=Event^.time)
|
||||
and (keyval=Event^.keyval);
|
||||
end;
|
||||
|
||||
var
|
||||
|
Loading…
Reference in New Issue
Block a user