diff options
Diffstat (limited to 'src/Ewmh.cc')
-rw-r--r-- | src/Ewmh.cc | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/src/Ewmh.cc b/src/Ewmh.cc index 78ea63e..2d744f7 100644 --- a/src/Ewmh.cc +++ b/src/Ewmh.cc | |||
@@ -238,14 +238,11 @@ void Ewmh::setupFrame(FluxboxWindow &win) { | |||
238 | if (desktop == 0xFFFFFFFF && !win.isStuck()) | 238 | if (desktop == 0xFFFFFFFF && !win.isStuck()) |
239 | win.stick(); | 239 | win.stick(); |
240 | else | 240 | else |
241 | win.screen().sendToWorkspace(desktop, &win, false); | 241 | win.setWorkspace(desktop, false); |
242 | 242 | ||
243 | XFree(data); | 243 | XFree(data); |
244 | } | 244 | } |
245 | 245 | ||
246 | updateWorkspace(win); | ||
247 | |||
248 | |||
249 | } | 246 | } |
250 | 247 | ||
251 | void Ewmh::updateFrameClose(FluxboxWindow &win) { | 248 | void Ewmh::updateFrameClose(FluxboxWindow &win) { |