control, so it can be allowed to stay for now. And there were a bunch of
references to the local cursor option.
git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4475
3789f03b-4d11-0410-bbf8-
ca57d06f2519
cp.supportsDesktopResize = true;
cp.supportsExtendedDesktopSize = true;
cp.supportsDesktopRename = true;
- cp.supportsLocalCursor = useLocalCursor;
cp.customCompressLevel = customCompressLevel;
cp.compressLevel = compressLevel;
self->cp.qualityLevel = qualityLevel;
}
- self->cp.supportsLocalCursor = useLocalCursor;
-
self->cp.customCompressLevel = customCompressLevel;
self->cp.compressLevel = compressLevel;
/* Misc. */
sharedCheckbox->value(shared);
fullScreenCheckbox->value(fullScreen);
- localCursorCheckbox->value(useLocalCursor);
dotCursorCheckbox->value(dotWhenNoCursor);
}
/* Misc. */
shared.setParam(sharedCheckbox->value());
fullScreen.setParam(fullScreenCheckbox->value());
- useLocalCursor.setParam(localCursorCheckbox->value());
dotWhenNoCursor.setParam(dotCursorCheckbox->value());
std::map<OptionsCallback*, void*>::const_iterator iter;
_("Full-screen mode")));
ty += CHECK_HEIGHT + TIGHT_MARGIN;
- localCursorCheckbox = new Fl_Check_Button(LBLRIGHT(tx, ty,
- CHECK_MIN_WIDTH,
- CHECK_HEIGHT,
- _("Render cursor locally")));
- ty += CHECK_HEIGHT + TIGHT_MARGIN;
-
dotCursorCheckbox = new Fl_Check_Button(LBLRIGHT(tx, ty,
CHECK_MIN_WIDTH,
CHECK_HEIGHT,
/* Misc. */
Fl_Check_Button *sharedCheckbox;
Fl_Check_Button *fullScreenCheckbox;
- Fl_Check_Button *localCursorCheckbox;
Fl_Check_Button *dotCursorCheckbox;
};
using namespace rfb;
+IntParameter pointerEventInterval("PointerEventInterval",
+ "Time in milliseconds to rate-limit"
+ " successive pointer events", 0);
BoolParameter dotWhenNoCursor("DotWhenNoCursor",
"Show the dot cursor when the server sends an "
"invisible cursor", true);
#include <rfb/Configuration.h>
+extern rfb::IntParameter pointerEventInterval;
extern rfb::BoolParameter dotWhenNoCursor;
extern rfb::StringParameter passwordFile;