diff options
author | Pierre Ossman <ossman@cendio.se> | 2016-12-10 17:13:40 +0100 |
---|---|---|
committer | Pierre Ossman <ossman@cendio.se> | 2017-08-24 12:33:08 +0200 |
commit | 1668cfaef2fe7effb38f311d232d4f57a8703d11 (patch) | |
tree | b0d3e8f6f82246618720f66fdba695fde2e0bd5c /vncviewer/cocoa.h | |
parent | 2fa63f8576e5d1c632efeeb2c185f11e943899d8 (diff) | |
download | tigervnc-1668cfaef2fe7effb38f311d232d4f57a8703d11.tar.gz tigervnc-1668cfaef2fe7effb38f311d232d4f57a8703d11.zip |
Sync LED state when gaining focus
The state might have changed when we didn't have focus. Get
everything back in sync once we're back in control.
Diffstat (limited to 'vncviewer/cocoa.h')
-rw-r--r-- | vncviewer/cocoa.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/vncviewer/cocoa.h b/vncviewer/cocoa.h index b5d5f763..a7138026 100644 --- a/vncviewer/cocoa.h +++ b/vncviewer/cocoa.h @@ -36,4 +36,7 @@ int cocoa_event_keysym(const void *event); int cocoa_set_caps_lock_state(bool on); int cocoa_set_num_lock_state(bool on); +int cocoa_get_caps_lock_state(bool *on); +int cocoa_get_num_lock_state(bool *on); + #endif |