diff options
author | fluxgen <fluxgen> | 2003-05-10 22:59:32 (GMT) |
---|---|---|
committer | fluxgen <fluxgen> | 2003-05-10 22:59:32 (GMT) |
commit | 3e1ac648d0f9dfe060091dc1f0c6e654064f4f7f (patch) | |
tree | b3fbb3a9de1053ad69a8ba3a1a4ed262a27b4719 /src/IconBar.cc | |
parent | 03c52ee0c4836eb6b9669975e8fd2cc0ee86f3b1 (diff) | |
download | fluxbox-3e1ac648d0f9dfe060091dc1f0c6e654064f4f7f.zip fluxbox-3e1ac648d0f9dfe060091dc1f0c6e654064f4f7f.tar.bz2 |
using FbRootWindow
Diffstat (limited to 'src/IconBar.cc')
-rw-r--r-- | src/IconBar.cc | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/src/IconBar.cc b/src/IconBar.cc index 8e28f2a..d6e6d88 100644 --- a/src/IconBar.cc +++ b/src/IconBar.cc | |||
@@ -19,7 +19,7 @@ | |||
19 | // FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER | 19 | // FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER |
20 | // DEALINGS IN THE SOFTWARE. | 20 | // DEALINGS IN THE SOFTWARE. |
21 | 21 | ||
22 | // $Id: IconBar.cc,v 1.32 2003/04/28 16:48:22 rathnor Exp $ | 22 | // $Id: IconBar.cc,v 1.33 2003/05/10 22:55:10 fluxgen Exp $ |
23 | 23 | ||
24 | #include "IconBar.hh" | 24 | #include "IconBar.hh" |
25 | 25 | ||
@@ -294,15 +294,16 @@ Window IconBar::createIconWindow(FluxboxWindow *fluxboxwin, Window parent) { | |||
294 | attrib.background_pixel = attrib.border_pixel = | 294 | attrib.background_pixel = attrib.border_pixel = |
295 | BlackPixel(m_display, | 295 | BlackPixel(m_display, |
296 | screen().getScreenNumber()); | 296 | screen().getScreenNumber()); |
297 | // fluxboxwin->getScreen().getWindowStyle()->tab.border_color.pixel(); | 297 | // fluxboxwin->screen().getWindowStyle()->tab.border_color.pixel(); |
298 | attrib.colormap = fluxboxwin->getScreen().colormap(); | 298 | attrib.colormap = fluxboxwin->screen().rootWindow().colormap(); |
299 | attrib.override_redirect = True; | 299 | attrib.override_redirect = True; |
300 | attrib.event_mask = ButtonPressMask | ButtonReleaseMask | | 300 | attrib.event_mask = ButtonPressMask | ButtonReleaseMask | |
301 | ButtonMotionMask | ExposureMask | EnterWindowMask; | 301 | ButtonMotionMask | ExposureMask | EnterWindowMask; |
302 | 302 | ||
303 | //create iconwindow | 303 | //create iconwindow |
304 | Window iconwin = XCreateWindow(m_display, parent, 0, 0, 1, 1, 0, | 304 | Window iconwin = XCreateWindow(m_display, parent, 0, 0, 1, 1, 0, |
305 | fluxboxwin->getScreen().getDepth(), InputOutput, fluxboxwin->getScreen().getVisual(), | 305 | fluxboxwin->screen().rootWindow().depth(), |
306 | InputOutput, fluxboxwin->screen().rootWindow().visual(), | ||
306 | attrib_mask, &attrib); | 307 | attrib_mask, &attrib); |
307 | 308 | ||
308 | return iconwin; | 309 | return iconwin; |