diff options
-rw-r--r-- | src/Screen.cc | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/Screen.cc b/src/Screen.cc index 1c5f7d4..3130499 100644 --- a/src/Screen.cc +++ b/src/Screen.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: Screen.cc,v 1.154 2003/05/11 13:36:10 fluxgen Exp $ | 25 | // $Id: Screen.cc,v 1.155 2003/05/11 15:26:34 fluxgen Exp $ |
26 | 26 | ||
27 | 27 | ||
28 | #include "Screen.hh" | 28 | #include "Screen.hh" |
@@ -981,7 +981,7 @@ void BScreen::removeClient(WinClient &client) { | |||
981 | if (client.transientFor() && client.transientFor()->fbwindow()) | 981 | if (client.transientFor() && client.transientFor()->fbwindow()) |
982 | client.transientFor()->fbwindow()->setInputFocus(); | 982 | client.transientFor()->fbwindow()->setInputFocus(); |
983 | else | 983 | else |
984 | Fluxbox::instance()->revertFocus(&focused->screen()); | 984 | Fluxbox::instance()->revertFocus(focused->screen()); |
985 | } | 985 | } |
986 | } | 986 | } |
987 | 987 | ||
@@ -1092,7 +1092,7 @@ void BScreen::changeWorkspaceID(unsigned int id) { | |||
1092 | if (focused && (focused->isStuck() || focused->isMoving())) { | 1092 | if (focused && (focused->isStuck() || focused->isMoving())) { |
1093 | focused->setInputFocus(); | 1093 | focused->setInputFocus(); |
1094 | } else | 1094 | } else |
1095 | Fluxbox::instance()->revertFocus(this); | 1095 | Fluxbox::instance()->revertFocus(*this); |
1096 | 1096 | ||
1097 | if (focused && focused->isMoving()) { | 1097 | if (focused && focused->isMoving()) { |
1098 | focused->resumeMoving(); | 1098 | focused->resumeMoving(); |