projects
/
dana
/
openbox.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6d403fe
)
now it opens on all possible screens
author
Dana Jansens
<danakj@orodu.net>
Sat, 20 Jul 2002 17:04:07 +0000
(17:04 +0000)
committer
Dana Jansens
<danakj@orodu.net>
Sat, 20 Jul 2002 17:04:07 +0000
(17:04 +0000)
util/epist/epist.cc
patch
|
blob
|
history
diff --git
a/util/epist/epist.cc
b/util/epist/epist.cc
index 1a4b4c24370f46684adfeb8075b45c8923ddfcc7..51c1e8200efe19ecd517ea0eedc76903853affdc 100644
(file)
--- 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);