mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-27 00:57:50 +00:00
Bugfix: Desktop switch on local machine causes vncviewer to terminate
http://sourceforge.net/tracker/index.php?func=detail&aid=1202622&group_id=14067&atid=114067 PR: ports/86315 Submitted by: Li-Lun Wang (Leland Wang)
This commit is contained in:
parent
9984aa2815
commit
f88674c448
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=143207
@ -8,6 +8,7 @@
|
||||
|
||||
PORTNAME= tightvnc
|
||||
PORTVERSION= 1.2.9
|
||||
PORTREVISION= 1
|
||||
CATEGORIES= net
|
||||
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
|
||||
MASTER_SITE_SUBDIR= vnc-tight
|
||||
@ -38,7 +39,7 @@ BROKEN= "Does not compile on !i386"
|
||||
.endif
|
||||
|
||||
.if exists(${X11BASE}/share/vnc/classes/index.vnc)
|
||||
IGNORE= "vnc has already been installed, please uninstall it first."
|
||||
IGNORE= vnc has already been installed, please uninstall it first.
|
||||
.endif
|
||||
|
||||
post-patch:
|
||||
|
14
net/tightvnc/files/patch-vncviewer::desktop.c
Normal file
14
net/tightvnc/files/patch-vncviewer::desktop.c
Normal file
@ -0,0 +1,14 @@
|
||||
--- vncviewer/desktop.c.orig Thu Jul 31 00:01:00 2003
|
||||
+++ vncviewer/desktop.c Sun Sep 18 19:20:06 2005
|
||||
@@ -180,8 +180,9 @@
|
||||
break;
|
||||
|
||||
case FocusIn:
|
||||
- XSetInputFocus(dpy, XtWindowOfObject(desktop), RevertToPointerRoot,
|
||||
- CurrentTime);
|
||||
+ /** XSetInputFocus(dpy, XtWindowOfObject(desktop), RevertToPointerRoot,
|
||||
+ CurrentTime); **/
|
||||
+ XSetInputFocus(dpy, PointerRoot, RevertToPointerRoot, CurrentTime);
|
||||
break;
|
||||
|
||||
case FocusOut:
|
Loading…
Reference in New Issue
Block a user