X-Git-Url: https://git.brokenzipper.com/gitweb?a=blobdiff_plain;f=util%2Fepist%2Fepist.cc;h=eea8502d9889b0209aa2ea9eba32fad2b89d7102;hb=a16ae8733983b7e4c7733512cf1c5b9f2cb0b2db;hp=1a4b4c24370f46684adfeb8075b45c8923ddfcc7;hpb=843f9726ab6fd99fe3a2f285e6c85bd2880a275f;p=chaz%2Fopenbox diff --git a/util/epist/epist.cc b/util/epist/epist.cc index 1a4b4c24..eea8502d 100644 --- a/util/epist/epist.cc +++ b/util/epist/epist.cc @@ -68,9 +68,11 @@ epist::epist(char **argv, char *dpy_name, char *rc_file) _xatom = new XAtom(getXDisplay()); - screen *s = new screen(this, DefaultScreen(getXDisplay())); - if (s->managed()) - _screens.push_back(s); + for (unsigned int i = 0; i < getNumberOfScreens(); ++i) { + screen *s = new screen(this, i); + if (s->managed()) + _screens.push_back(s); + } if (_screens.empty()) { cout << "No compatible window manager found on any screens. Aborting.\n"; ::exit(1); @@ -158,8 +160,8 @@ epist::epist(char **argv, char *dpy_name, char *rc_file) Mod1Mask | ControlMask | ShiftMask, 3)); _actions.push_back(Action(Action::execute, XKeysymToKeycode(getXDisplay(), - XStringToKeysym("F6")), - Mod1Mask, "aterm")); + XStringToKeysym("space")), + Mod1Mask, "rxvt")); activateGrabs(); }