X-Git-Url: https://git.dogcows.com/gitweb?a=blobdiff_plain;f=openbox%2Fpopup.c;h=5cbe0347cc4846219757694d85c19be33214db18;hb=07126124c9242a5a20883c3145464730e50afe94;hp=2a0d5960d67d11b6f6dc35091ae0078946ad9bb5;hpb=384f2dfc48278998631d3f9bac3a337d296b198e;p=chaz%2Fopenbox diff --git a/openbox/popup.c b/openbox/popup.c index 2a0d5960..5cbe0347 100644 --- a/openbox/popup.c +++ b/openbox/popup.c @@ -65,6 +65,8 @@ ObPopup *popup_new(void) void popup_free(ObPopup *self) { if (self) { + popup_hide(self); /* make sure it's not showing or is being delayed and + will be shown */ XDestroyWindow(ob_display, self->bg); XDestroyWindow(ob_display, self->text); RrAppearanceFree(self->a_bg);