[FIX][UNIX][VM] x11SelectionFix for Unix CVS VM

Ned Konz ned at bike-nomad.com
Sat Aug 2 01:31:58 UTC 2003


The attached fix for the SourceForge CVS head fixes two problems:

* Inability to paste into Squeak from other X apps. We weren't 
providing any destination atom for the XConvertSelection() call.

* Incorrect handling of Sun function keys. A few of these may be 
interesting on other machines because their values overlap with 
high-numbered function keys:

XK_L1:	(XK_F11): 	ALT+.
XK_L2:	(XK_F12):	ALT+j
XK_L4:	(XK_F15):	ALT+z
XK_L6:	(XK_F16):	ALT+c
XK_L8:	(XK_F18):	ALT+v
XK_L9:	(XK_F19):	ALT+f
XK_L10:	(XK_F20):	ALT+x

Luckily (?) we don't handle any other function keys...

It also adds some more debug messages, but these are conditionally 
compiled when DEBUG_SELECTIONS is defined.
-- 
Ned Konz
http://bike-nomad.com
GPG key ID: BEEA7EFE
-------------- next part --------------
A non-text attachment was scrubbed...
Name: x11SelectionFix.patch
Type: text/x-diff
Size: 10263 bytes
Desc: not available
Url : http://lists.squeakfoundation.org/pipermail/squeak-dev/attachments/20030801/c28c1838/x11SelectionFix.bin


More information about the Squeak-dev mailing list