From 859ec88bcd3788cea1c45af5d40bd1c927ee886a Mon Sep 17 00:00:00 2001 From: Joe Groff Date: Sun, 25 Apr 2010 12:18:45 -0700 Subject: [PATCH] ui.backend.x11: search path for xmessage rather than hardcoding path --- basis/ui/backend/x11/x11.factor | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/basis/ui/backend/x11/x11.factor b/basis/ui/backend/x11/x11.factor index 6a7a8d147f..fc7943efb0 100644 --- a/basis/ui/backend/x11/x11.factor +++ b/basis/ui/backend/x11/x11.factor @@ -332,7 +332,7 @@ M: x11-ui-backend beep ( -- ) [ dup CHAR: ' = [ drop "'\\''" ] [ 1string ] if ] { } map-as concat ; : xmessage ( string -- ) - escape-' "/usr/X11R6/bin/xmessage '" "'" surround system drop ; + escape-' "/usr/bin/env xmessage '" "'" surround system drop ; PRIVATE> M: x11-ui-backend system-alert