diff options
author | fluxgen <fluxgen> | 2003-02-03 13:57:08 (GMT) |
---|---|---|
committer | fluxgen <fluxgen> | 2003-02-03 13:57:08 (GMT) |
commit | c5955046765870a6320534b5782b546087ab4bb2 (patch) | |
tree | 839e9e6665f39d6b06f962278ca5606f63f9b1b9 /src/fluxbox.cc | |
parent | 1ac79b97332af0fe27f3ca1a850e4989aa9389b2 (diff) | |
download | fluxbox-c5955046765870a6320534b5782b546087ab4bb2.zip fluxbox-c5955046765870a6320534b5782b546087ab4bb2.tar.bz2 |
creating screen with specified number of layers
Diffstat (limited to 'src/fluxbox.cc')
-rw-r--r-- | src/fluxbox.cc | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/fluxbox.cc b/src/fluxbox.cc index f66a9c9..5b0f3c0 100644 --- a/src/fluxbox.cc +++ b/src/fluxbox.cc | |||
@@ -22,7 +22,7 @@ | |||
22 | // FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER | 22 | // FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER |
23 | // DEALINGS IN THE SOFTWARE. | 23 | // DEALINGS IN THE SOFTWARE. |
24 | 24 | ||
25 | // $Id: fluxbox.cc,v 1.93 2003/02/02 16:32:40 rathnor Exp $ | 25 | // $Id: fluxbox.cc,v 1.94 2003/02/03 13:57:08 fluxgen Exp $ |
26 | 26 | ||
27 | 27 | ||
28 | #include "fluxbox.hh" | 28 | #include "fluxbox.hh" |
@@ -376,7 +376,7 @@ Fluxbox::Fluxbox(int m_argc, char **m_argv, const char *dpy_name, const char *rc | |||
376 | char scrname[128], altscrname[128]; | 376 | char scrname[128], altscrname[128]; |
377 | sprintf(scrname, "session.screen%d", i); | 377 | sprintf(scrname, "session.screen%d", i); |
378 | sprintf(altscrname, "session.Screen%d", i); | 378 | sprintf(altscrname, "session.Screen%d", i); |
379 | BScreen *screen = new BScreen(m_screen_rm, scrname, altscrname, i); | 379 | BScreen *screen = new BScreen(m_screen_rm, scrname, altscrname, i, getNumberOfLayers()); |
380 | if (! screen->isScreenManaged()) { | 380 | if (! screen->isScreenManaged()) { |
381 | delete screen; | 381 | delete screen; |
382 | continue; | 382 | continue; |
@@ -896,6 +896,7 @@ void Fluxbox::handleButtonEvent(XButtonEvent &be) { | |||
896 | win->buttonReleaseEvent(be); | 896 | win->buttonReleaseEvent(be); |
897 | else if ((tab = searchTab(be.window))) | 897 | else if ((tab = searchTab(be.window))) |
898 | tab->buttonReleaseEvent(&be); | 898 | tab->buttonReleaseEvent(&be); |
899 | |||
899 | } | 900 | } |
900 | break; | 901 | break; |
901 | default: | 902 | default: |