X-Git-Url: https://git.dogcows.com/gitweb?a=blobdiff_plain;f=otk%2Fappwidget.cc;h=d1ae736959e4a3507c0ecba69c43df290ef9167c;hb=9e8f89b61976424c7d1c6e6a37498da74b7850ce;hp=ee5428838185685beacc2869ca93b0e5fb9d20d8;hpb=c97915f445017d36667a6ad32767fa41d14d23b1;p=chaz%2Fopenbox diff --git a/otk/appwidget.cc b/otk/appwidget.cc index ee542883..d1ae7369 100644 --- a/otk/appwidget.cc +++ b/otk/appwidget.cc @@ -6,6 +6,7 @@ #include "appwidget.hh" #include "application.hh" +#include "property.hh" extern "C" { #include @@ -20,8 +21,8 @@ AppWidget::AppWidget(Application *app, Direction direction, { assert(app); - _wm_protocols = XInternAtom(**display, "WM_PROTOCOLS", false); - _wm_delete = XInternAtom(**display, "WM_DELETE_WINDOW", false); + _wm_protocols = Property::atoms.wm_protocols; + _wm_delete = Property::atoms.wm_protocols; // set WM Protocols on the window Atom protocols[2];