From 49ed7ec7f6a405208cc11e0f98a4455df6707d13 Mon Sep 17 00:00:00 2001 From: okan Date: Tue, 13 Sep 2011 08:41:57 +0000 Subject: add WM_TRANSIENT_FOR event support: moves dialogs, toolbars and such to the group of the main application window; based on a diff from Alexander Polakov with CLIENT_IGNORE flag suggestion from oga@. ok oga@ --- xevents.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'xevents.c') diff --git a/xevents.c b/xevents.c index 6b1ca9c..ce4378a 100644 --- a/xevents.c +++ b/xevents.c @@ -15,7 +15,7 @@ * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. * - * $OpenBSD: xevents.c,v 1.55 2011/08/22 16:34:34 oga Exp $ + * $OpenBSD: xevents.c,v 1.56 2011/09/13 08:41:57 okan Exp $ */ /* @@ -191,6 +191,9 @@ xev_handle_propertynotify(XEvent *ee) case XA_WM_NAME: client_setname(cc); break; + case XA_WM_TRANSIENT_FOR: + client_transient(cc); + break; default: /* do nothing */ break; -- cgit v1.2.3-2-gb3c3