Commit 0f71305
Volodymyr Samokhatko
libvncserver: Always show ptr. movement to collaborators
When multiple viewers are sharing a single TurboVNC session, ordinarily
it would be necessary for a viewer to disable remote cursor shape
updates in order to see the pointer movements initiated by other
viewers. This commit automates that by using server-side cursor
rendering (drawing the cursor into the framebuffer, not using remote
cursor shape updates) to send cursor updates to all viewers that aren't
moving the pointer ("collaborators.") The viewer that is moving the
pointer (the "pointer owner") receives remote cursor shape updates while
it is moving the pointer, if it has elected to receive them.
This mimics the behavior of RealVNC.1 parent 75c10c6 commit 0f71305
File tree
4 files changed
+56
-12
lines changed- include/rfb
- src/libvncserver
4 files changed
+56
-12
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
277 | 277 | | |
278 | 278 | | |
279 | 279 | | |
280 | | - | |
| 280 | + | |
281 | 281 | | |
282 | 282 | | |
283 | 283 | | |
| |||
378 | 378 | | |
379 | 379 | | |
380 | 380 | | |
| 381 | + | |
| 382 | + | |
| 383 | + | |
| 384 | + | |
| 385 | + | |
| 386 | + | |
| 387 | + | |
| 388 | + | |
381 | 389 | | |
382 | 390 | | |
383 | 391 | | |
| |||
722 | 730 | | |
723 | 731 | | |
724 | 732 | | |
725 | | - | |
| 733 | + | |
| 734 | + | |
| 735 | + | |
726 | 736 | | |
727 | 737 | | |
728 | 738 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
781 | 781 | | |
782 | 782 | | |
783 | 783 | | |
784 | | - | |
| 784 | + | |
785 | 785 | | |
786 | 786 | | |
787 | 787 | | |
| |||
794 | 794 | | |
795 | 795 | | |
796 | 796 | | |
797 | | - | |
| 797 | + | |
798 | 798 | | |
| 799 | + | |
| 800 | + | |
| 801 | + | |
799 | 802 | | |
800 | 803 | | |
801 | 804 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
732 | 732 | | |
733 | 733 | | |
734 | 734 | | |
| 735 | + | |
| 736 | + | |
| 737 | + | |
| 738 | + | |
| 739 | + | |
| 740 | + | |
| 741 | + | |
| 742 | + | |
735 | 743 | | |
736 | 744 | | |
737 | 745 | | |
738 | | - | |
739 | | - | |
| 746 | + | |
| 747 | + | |
| 748 | + | |
| 749 | + | |
| 750 | + | |
| 751 | + | |
| 752 | + | |
| 753 | + | |
| 754 | + | |
740 | 755 | | |
741 | 756 | | |
742 | 757 | | |
| |||
1001 | 1016 | | |
1002 | 1017 | | |
1003 | 1018 | | |
| 1019 | + | |
| 1020 | + | |
1004 | 1021 | | |
1005 | 1022 | | |
1006 | 1023 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
627 | 627 | | |
628 | 628 | | |
629 | 629 | | |
| 630 | + | |
| 631 | + | |
| 632 | + | |
630 | 633 | | |
631 | 634 | | |
632 | 635 | | |
| |||
2688 | 2691 | | |
2689 | 2692 | | |
2690 | 2693 | | |
| 2694 | + | |
| 2695 | + | |
| 2696 | + | |
| 2697 | + | |
| 2698 | + | |
| 2699 | + | |
| 2700 | + | |
| 2701 | + | |
2691 | 2702 | | |
2692 | 2703 | | |
2693 | 2704 | | |
| |||
2700 | 2711 | | |
2701 | 2712 | | |
2702 | 2713 | | |
| 2714 | + | |
| 2715 | + | |
2703 | 2716 | | |
2704 | 2717 | | |
2705 | 2718 | | |
| |||
3158 | 3171 | | |
3159 | 3172 | | |
3160 | 3173 | | |
3161 | | - | |
3162 | | - | |
| 3174 | + | |
| 3175 | + | |
| 3176 | + | |
3163 | 3177 | | |
3164 | 3178 | | |
3165 | 3179 | | |
| |||
3264 | 3278 | | |
3265 | 3279 | | |
3266 | 3280 | | |
3267 | | - | |
| 3281 | + | |
3268 | 3282 | | |
3269 | 3283 | | |
3270 | 3284 | | |
| |||
3319 | 3333 | | |
3320 | 3334 | | |
3321 | 3335 | | |
3322 | | - | |
| 3336 | + | |
3323 | 3337 | | |
3324 | 3338 | | |
3325 | 3339 | | |
| |||
3576 | 3590 | | |
3577 | 3591 | | |
3578 | 3592 | | |
3579 | | - | |
3580 | | - | |
| 3593 | + | |
| 3594 | + | |
3581 | 3595 | | |
3582 | 3596 | | |
3583 | 3597 | | |
| |||
0 commit comments