diff options
author | simonb <simonb> | 2005-05-10 16:29:00 (GMT) |
---|---|---|
committer | simonb <simonb> | 2005-05-10 16:29:00 (GMT) |
commit | 5fec1906cc4faf83ec2424aa48c2a050b0254d15 (patch) | |
tree | cc65550334da8a019887fba4c0000d0422420a03 /src/fluxbox.cc | |
parent | c6c7788405b8f6f5990e4ff9a69123d13b1487f4 (diff) | |
download | fluxbox-5fec1906cc4faf83ec2424aa48c2a050b0254d15.zip fluxbox-5fec1906cc4faf83ec2424aa48c2a050b0254d15.tar.bz2 |
cache the root pixmap (per screen)
Diffstat (limited to 'src/fluxbox.cc')
-rw-r--r-- | src/fluxbox.cc | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/src/fluxbox.cc b/src/fluxbox.cc index 271d93f..f01224f 100644 --- a/src/fluxbox.cc +++ b/src/fluxbox.cc | |||
@@ -657,8 +657,15 @@ void Fluxbox::handleEvent(XEvent * const e) { | |||
657 | e->type == LeaveNotify) { | 657 | e->type == LeaveNotify) { |
658 | m_last_time = e->xcrossing.time; | 658 | m_last_time = e->xcrossing.time; |
659 | m_mousescreen = searchScreen(e->xcrossing.root); | 659 | m_mousescreen = searchScreen(e->xcrossing.root); |
660 | } else if (e->type == PropertyNotify) | 660 | } else if (e->type == PropertyNotify) { |
661 | m_last_time = e->xproperty.time; | 661 | m_last_time = e->xproperty.time; |
662 | // check transparency atoms if it's a root pm | ||
663 | |||
664 | BScreen *screen = searchScreen(e->xproperty.window); | ||
665 | if (screen) { | ||
666 | FbTk::FbPixmap::rootwinPropertyNotify(screen->screenNumber(), e->xproperty.atom); | ||
667 | } | ||
668 | } | ||
662 | 669 | ||
663 | // we need to check focus out for menus before | 670 | // we need to check focus out for menus before |
664 | // we call FbTk eventhandler | 671 | // we call FbTk eventhandler |