diff options
author | Pavel Labath <pavelo@centrum.sk> | 2011-05-06 21:17:13 (GMT) |
---|---|---|
committer | Pavel Labath <pavelo@centrum.sk> | 2011-05-10 11:00:46 (GMT) |
commit | 2073ae12a4e633d18f49559111131fffbc495dbd (patch) | |
tree | 66d42e79fc90f58ddb38fa105e4cc68b63362cb5 /src/FbWinFrame.cc | |
parent | ff49160b120edd8d9396f10dab5a97bace8724ec (diff) | |
download | fluxbox-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.cc | 6 |
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 | ||
539 | void FbWinFrame::setAlpha(bool focused, int alpha) { | 539 | void 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 | ||
1484 | bool FbWinFrame::setBorderWidth(bool do_move) { | 1484 | bool 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 |