diff options
| author | moetunes <moetunes111@gmail.com> | 2011-10-13 16:53:29 +1000 |
|---|---|---|
| committer | moetunes <moetunes111@gmail.com> | 2011-10-13 16:53:29 +1000 |
| commit | 72770204f7916cf4611375b9909f620b5765dac0 (patch) | |
| tree | 994e9ba012a984f29dc234fd2146f10b13eda5b5 /src/dminiwm.c | |
| parent | 084c8ee0e6855426d6ddee759e77d706ce34fcbf (diff) | |
Reworked how dialog windows are handled
Diffstat (limited to 'src/dminiwm.c')
| -rw-r--r-- | src/dminiwm.c | 3 |
1 files changed, 2 insertions, 1 deletions
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); |
