aboutsummaryrefslogtreecommitdiff
path: root/src/FbWinFrame.cc
diff options
context:
space:
mode:
authorPavel Labath <pavelo@centrum.sk>2011-05-06 21:17:13 (GMT)
committerPavel Labath <pavelo@centrum.sk>2011-05-10 11:00:46 (GMT)
commit2073ae12a4e633d18f49559111131fffbc495dbd (patch)
tree66d42e79fc90f58ddb38fa105e4cc68b63362cb5 /src/FbWinFrame.cc
parentff49160b120edd8d9396f10dab5a97bace8724ec (diff)
downloadfluxbox-2073ae12a4e633d18f49559111131fffbc495dbd.zip
fluxbox-2073ae12a4e633d18f49559111131fffbc495dbd.tar.bz2
Convert FbWinFrame::frameExtentSig to FbTk::Signal
Also, I spotted a potential bug in the code. I marked the place with XXX. Someone should take a look at that.
Diffstat (limited to 'src/FbWinFrame.cc')
-rw-r--r--src/FbWinFrame.cc6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/FbWinFrame.cc b/src/FbWinFrame.cc
index 2b64fa5..a8ee4d5 100644
--- a/src/FbWinFrame.cc
+++ b/src/FbWinFrame.cc
@@ -533,7 +533,7 @@ void FbWinFrame::applyState() {
533 } 533 }
534 534
535 moveResize(new_x, new_y, new_w, new_h); 535 moveResize(new_x, new_y, new_w, new_h);
536 frameExtentSig().notify(); 536 frameExtentSig().emit();
537} 537}
538 538
539void FbWinFrame::setAlpha(bool focused, int alpha) { 539void FbWinFrame::setAlpha(bool focused, int alpha) {
@@ -1478,7 +1478,7 @@ void FbWinFrame::applyDecorations(bool do_move) {
1478 m_state.saveGeometry(x(), y(), width(), height()); 1478 m_state.saveGeometry(x(), y(), width(), height());
1479 } 1479 }
1480 if (client_move) 1480 if (client_move)
1481 frameExtentSig().notify(); 1481 frameExtentSig().emit();
1482} 1482}
1483 1483
1484bool FbWinFrame::setBorderWidth(bool do_move) { 1484bool FbWinFrame::setBorderWidth(bool do_move) {
@@ -1529,7 +1529,7 @@ bool FbWinFrame::setBorderWidth(bool do_move) {
1529 alignTabs(); 1529 alignTabs();
1530 1530
1531 if (do_move) { 1531 if (do_move) {
1532 frameExtentSig().notify(); 1532 frameExtentSig().emit();
1533 gravityTranslate(grav_x, grav_y, sizeHints().win_gravity, 1533 gravityTranslate(grav_x, grav_y, sizeHints().win_gravity,
1534 m_active_orig_client_bw, false); 1534 m_active_orig_client_bw, false);
1535 // if the location changes, shift it 1535 // if the location changes, shift it