summaryrefslogtreecommitdiff
path: root/otk
diff options
context:
space:
mode:
authorDana Jansens <danakj@orodu.net>2003-01-03 20:10:25 +0000
committerDana Jansens <danakj@orodu.net>2003-01-03 20:10:25 +0000
commit86a2bed6595cdc926dccb4a7c0f984fd5996e3c2 (patch)
tree46e234d4acc477d3b26b36b2d2a55b081a41264d /otk
parent4a07868e794c5e0974d15e89579b53d598273426 (diff)
remove the block on shutdown
Diffstat (limited to 'otk')
-rw-r--r--otk/display.cc2
1 files changed, 2 insertions, 0 deletions
diff --git a/otk/display.cc b/otk/display.cc
index f45dd49b..bd6d2d05 100644
--- a/otk/display.cc
+++ b/otk/display.cc
@@ -162,6 +162,8 @@ line argument.\n\n"));
void OBDisplay::destroy()
{
delete _gccache;
+ while (_grab_count > 0)
+ ungrab();
XCloseDisplay(display);
}