From 6793197f68c7db8fb6cbf7e36093ccb728f7a7f0 Mon Sep 17 00:00:00 2001 From: Matthew Flatt Date: Mon, 25 Aug 2008 12:57:57 +0000 Subject: [PATCH] set XtNinput on frames (PR 9690) svn: r11412 --- src/wxxt/src/Windows/Frame.cc | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/wxxt/src/Windows/Frame.cc b/src/wxxt/src/Windows/Frame.cc index 38ca1c8dc7..d8575f58ae 100644 --- a/src/wxxt/src/Windows/Frame.cc +++ b/src/wxxt/src/Windows/Frame.cc @@ -377,6 +377,10 @@ Bool wxFrame::Create(wxFrame *frame_parent, char *title, } } + /* Let window managers know that the frame can receive the focus + (patch from Alexey Voinov): */ + XtVaSetValues(X->frame, XtNinput, True, NULL); + return TRUE; }