From 72770204f7916cf4611375b9909f620b5765dac0 Mon Sep 17 00:00:00 2001 From: moetunes Date: Thu, 13 Oct 2011 16:53:29 +1000 Subject: Reworked how dialog windows are handled --- src/config.h | 2 +- src/dminiwm.c | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) (limited to 'src') diff --git a/src/config.h b/src/config.h index 41bbbca..c3ab1b0 100755 --- a/src/config.h +++ b/src/config.h @@ -1,4 +1,4 @@ - /* config.h for dminiwm.c [ 0.1.1 ] + /* config.h for dminiwm.c [ 0.1.2 ] * * Started from catwm 31/12/10 * Bad window error checking and numlock checking used from diff --git a/src/dminiwm.c b/src/dminiwm.c index 913f120..437e994 100644 --- a/src/dminiwm.c +++ b/src/dminiwm.c @@ -1,4 +1,4 @@ -/* dminiwm.c [ 0.1.1 ] +/* dminiwm.c [ 0.1.2 ] * * I started this from catwm 31/12/10 * Bad window error checking and numlock checking used from @@ -665,6 +665,7 @@ void maprequest(XEvent *e) { // For dialog windows XGetTransientForHint(dis, ev->window, &dialog_window); if(dialog_window != 0) { + add_window(ev->window); XMapWindow(dis, ev->window); XSetInputFocus(dis,ev->window,RevertToParent,CurrentTime); XRaiseWindow(dis,ev->window); -- cgit v1.3.1