freebsd-ports/x11-fm/tkdesk/files/patch-ah
Steve Price c4a4317a53 - Use itcl as a dependency instead of itk.
- Include extra patches from master web site fixing various problems.
- Use FreeBSD-specific utils (e.g. 'vipw' instead of 'vi /etc/passwd') or
  correct non-FreeBSD flags to system programs (e.g. 'du -D' will not work on
  FreeBSD).

PR:		18725
Submitted by:	Andy Sparrow <andy@geek4food.org>
2000-05-29 03:33:10 +00:00

25 lines
614 B
Plaintext

--- tkdesk.main.orig Sun Nov 14 16:07:45 1999
+++ tkdesk.main Sun May 28 16:30:32 2000
@@ -682,6 +682,12 @@
blt_drag&drop errors ""
}
+# Disable BLT's built-in d&d bindings (except for motion):
+catch {
+ bind BltDrag&DropButton2 <Button-2> {}
+ bind BltDrag&DropButton2 <ButtonRelease-2> {}
+}
+
#
# ==== Set misc. global variables ============================================
#
@@ -1004,7 +1010,7 @@
}
foreach obj [itcl_info objects -class dsk_Editor] {
- if [winfo exists $obj] {
+ if [winfo exists [$obj getToplevel]] {
if {[$obj close_win] == "cancel"} {
return
}