]> Dogcows Code - chaz/openbox/blobdiff - otk/appwidget.cc
typo
[chaz/openbox] / otk / appwidget.cc
index f406c654a77275e6f7b6d5b034a92bb964597b24..fd25f16145e02b5c02c1fe72f70fe8b3f539e906 100644 (file)
@@ -1,3 +1,9 @@
+// -*- mode: C++; indent-tabs-mode: nil; c-basic-offset: 2; -*-
+
+#ifdef HAVE_CONFIG_H
+# include "../config.h"
+#endif
+
 #include "appwidget.hh"
 #include "application.hh"
 
@@ -21,7 +27,7 @@ OtkAppWidget::OtkAppWidget(OtkApplication *app, Direction direction,
   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()
@@ -30,7 +36,7 @@ OtkAppWidget::~OtkAppWidget()
 
 void OtkAppWidget::show(void)
 {
-  OtkWidget::show();
+  OtkWidget::show(true);
 
   _application->_appwidget_count++;
 }
This page took 0.025268 seconds and 4 git commands to generate.