ソースを参照

Copied the dot cursor logic over from the Unix viewer incorrectly.


git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4480 3789f03b-4d11-0410-bbf8-ca57d06f2519
tags/v1.1.90
Pierre Ossman 13年前
コミット
a51574a1bf
1個のファイルの変更2行の追加3行の削除
  1. 2
    3
      vncviewer/Viewport.cxx

+ 2
- 3
vncviewer/Viewport.cxx ファイルの表示

for (i = 0; i < mask_len; i++) for (i = 0; i < mask_len; i++)
if (((rdr::U8*)mask)[i]) break; if (((rdr::U8*)mask)[i]) break;


if (i == mask_len) {
if (dotWhenNoCursor)
vlog.debug("cursor is empty - using dot");
if ((i == mask_len) && dotWhenNoCursor) {
vlog.debug("cursor is empty - using dot");


Fl_Pixmap pxm(dotcursor_xpm); Fl_Pixmap pxm(dotcursor_xpm);
cursor = new Fl_RGB_Image(&pxm); cursor = new Fl_RGB_Image(&pxm);

読み込み中…
キャンセル
保存