+// -*- mode: C++; indent-tabs-mode: nil; c-basic-offset: 2; -*-
+
+#ifdef HAVE_CONFIG_H
+# include "../config.h"
+#endif
+
#include "appwidget.hh"
#include "application.hh"
Atom protocols[2];
protocols[0] = _wm_protocols;
protocols[1] = _wm_delete;
- XSetWMProtocols(OBDisplay::display, getWindow(), protocols, 2);
+ XSetWMProtocols(OBDisplay::display, window(), protocols, 2);
}
OtkAppWidget::~OtkAppWidget()
void OtkAppWidget::show(void)
{
- OtkWidget::show();
+ OtkWidget::show(true);
_application->_appwidget_count++;
}