aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorfluxgen <fluxgen>2003-08-30 01:02:09 (GMT)
committerfluxgen <fluxgen>2003-08-30 01:02:09 (GMT)
commit1a98c78272b7d866cda1b3ee72afae0c270d8358 (patch)
tree63aa555a930e959dd3ce42f18a471265c77f620a
parent4bbdd0923b44e3b3b47c1f7decc0f99f9a2ae77a (diff)
downloadfluxbox-1a98c78272b7d866cda1b3ee72afae0c270d8358.zip
fluxbox-1a98c78272b7d866cda1b3ee72afae0c270d8358.tar.bz2
need to know when alpha changes
-rw-r--r--src/Slit.cc3
-rw-r--r--src/Toolbar.cc3
2 files changed, 4 insertions, 2 deletions
diff --git a/src/Slit.cc b/src/Slit.cc
index a9a3f35..a16bfb8 100644
--- a/src/Slit.cc
+++ b/src/Slit.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: Slit.cc,v 1.79 2003/08/29 10:30:46 fluxgen Exp $ 25// $Id: Slit.cc,v 1.80 2003/08/30 01:01:47 fluxgen Exp $
26 26
27#include "Slit.hh" 27#include "Slit.hh"
28 28
@@ -283,6 +283,7 @@ Slit::Slit(BScreen &scr, FbTk::XLayer &layer, const char *filename)
283 // attach to theme and root window change signal 283 // attach to theme and root window change signal
284 m_slit_theme->reconfigSig().attach(this); 284 m_slit_theme->reconfigSig().attach(this);
285 scr.resizeSig().attach(this); 285 scr.resizeSig().attach(this);
286 scr.reconfigureSig().attach(this); // if alpha changed (we disablethis signal when we get theme change sig)
286 287
287 frame.pixmap = None; 288 frame.pixmap = None;
288 // setup timer 289 // setup timer
diff --git a/src/Toolbar.cc b/src/Toolbar.cc
index 5d508e4..0b657cd 100644
--- a/src/Toolbar.cc
+++ b/src/Toolbar.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: Toolbar.cc,v 1.120 2003/08/29 00:44:41 fluxgen Exp $ 25// $Id: Toolbar.cc,v 1.121 2003/08/30 01:02:09 fluxgen Exp $
26 26
27#include "Toolbar.hh" 27#include "Toolbar.hh"
28 28
@@ -260,6 +260,7 @@ Toolbar::Toolbar(BScreen &scrn, FbTk::XLayer &layer, FbTk::Menu &menu, size_t wi
260 m_theme.reconfigSig().attach(this); 260 m_theme.reconfigSig().attach(this);
261 // listen to screen size changes 261 // listen to screen size changes
262 screen().resizeSig().attach(this); 262 screen().resizeSig().attach(this);
263 screen().reconfigureSig().attach(this); // if alpha value changes
263 264
264 moveToLayer((*m_rc_layernum).getNum()); 265 moveToLayer((*m_rc_layernum).getNum());
265 266