| Description: |
MrEd doesn't set XtNinput resource for it's frame windows (XWMHints.input field). When this hint is not set to True, window manager may not assign keyboard focus to that window. This behaviour can be seen when mred or drscheme is started in WindowMaker or XFCE. Maybe in some others too.
Here's trivial patch that works for me:
--- plt-4.1/src/wxxt/src/Windows/Frame.cc~ 2008-06-23 08:01:16 +0400
+++ plt-4.1/src/wxxt/src/Windows/Frame.cc 2008-08-16 16:07:33 +0400
@@ -376,7 +376,8 @@
XtVaSetValues(X->frame, XtNiconPixmap, plt_icon, NULL);
}
}
-
+
+ XtVaSetValues(X->frame, XtNinput, True, NULL);
return TRUE;
}
|