]> source.dussan.org Git - tigervnc.git/commit
Allow removal of GUI prompt on fatal errors
authorDr. David Alan Gilbert <dgilbert@redhat.com>
Tue, 11 Jul 2017 11:11:50 +0000 (12:11 +0100)
committerPierre Ossman <ossman@cendio.se>
Wed, 19 Jul 2017 09:13:00 +0000 (11:13 +0200)
commitf4d1d89f5868b241ac203759d511f9e549c2cb79
treef75b7113120d4b4cddd99ff47d78c4ea30cc7d4b
parent31a492d1208fb1c1177eef03a1ede9453436eafc
Allow removal of GUI prompt on fatal errors

Add a new parameter 'alertOnFatalError' which guards
the displaying of the GUI alert on fatal errors, and
thus when false just gives the textual error.

Now I can do:

  while true
  do
    vncviewer alertOnFatalError=false vm:0
    sleep 1
  done

and it'll reappear when my VM appears without me getting error
dialogs.

Signed-off-by: Dr. David Alan Gilbert <dgilbert@redhat.com>
--
vncviewer/CConn.cxx
vncviewer/parameters.cxx
vncviewer/parameters.h
vncviewer/vncviewer.cxx
vncviewer/vncviewer.man