diff options
Diffstat (limited to 'src/Screen.cc')
-rw-r--r-- | src/Screen.cc | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/Screen.cc b/src/Screen.cc index e9c1846..296cb4e 100644 --- a/src/Screen.cc +++ b/src/Screen.cc | |||
@@ -22,14 +22,14 @@ | |||
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: Screen.cc,v 1.86 2002/11/27 21:55:36 fluxgen Exp $ | 25 | // $Id: Screen.cc,v 1.87 2002/11/30 20:15:27 fluxgen Exp $ |
26 | 26 | ||
27 | 27 | ||
28 | #include "Screen.hh" | 28 | #include "Screen.hh" |
29 | 29 | ||
30 | #include "i18n.hh" | 30 | #include "i18n.hh" |
31 | #include "fluxbox.hh" | 31 | #include "fluxbox.hh" |
32 | #include "Image.hh" | 32 | #include "ImageControl.hh" |
33 | #include "Toolbar.hh" | 33 | #include "Toolbar.hh" |
34 | #include "Window.hh" | 34 | #include "Window.hh" |
35 | #include "Workspace.hh" | 35 | #include "Workspace.hh" |
@@ -283,7 +283,7 @@ resource(rm, screenname, altscreenname) | |||
283 | XDefineCursor(disp, getRootWindow(), fluxbox->getSessionCursor()); | 283 | XDefineCursor(disp, getRootWindow(), fluxbox->getSessionCursor()); |
284 | 284 | ||
285 | image_control = | 285 | image_control = |
286 | new BImageControl(this, true, fluxbox->colorsPerChannel(), | 286 | new BImageControl(scrn, true, fluxbox->colorsPerChannel(), |
287 | fluxbox->getCacheLife(), fluxbox->getCacheMax()); | 287 | fluxbox->getCacheLife(), fluxbox->getCacheMax()); |
288 | image_control->installRootColormap(); | 288 | image_control->installRootColormap(); |
289 | root_colormap_installed = true; | 289 | root_colormap_installed = true; |