]> source.dussan.org Git - tigervnc.git/commit
Ignore fake focus events from XGrabKeyboard() 661/head
authorPierre Ossman <ossman@cendio.se>
Tue, 12 Jun 2018 13:58:34 +0000 (15:58 +0200)
committerPierre Ossman <ossman@cendio.se>
Tue, 12 Jun 2018 13:58:34 +0000 (15:58 +0200)
commit1d94124f6854e73eef58c595b2b1a4d2a7333962
tree2db3ec0b7e9fc5f1f3bfab090b5da2531eabab3d
parent46665b6c791597d5f4f7a0351c491e4dd38b0d71
Ignore fake focus events from XGrabKeyboard()

Grabbing (and ungrabbing) the keyboard generates fake focus events
with modern versions of Xorg. This causes an infinite loop since we
update the grab status on focus events.

Work around this by ignoring these fake events.
vncviewer/DesktopWindow.cxx