diff options
author | rathnor <rathnor> | 2004-05-13 01:48:18 (GMT) |
---|---|---|
committer | rathnor <rathnor> | 2004-05-13 01:48:18 (GMT) |
commit | 9069ae0d80c278fcba837d50f75a49f18ea44c15 (patch) | |
tree | e7ebc3a06eb456fc7e8e138e0797591fc25c3a20 /src/Screen.cc | |
parent | 7ed9104ea85e3f7d23e0a523c71ad8dbe7c281c2 (diff) | |
download | fluxbox_pavel-9069ae0d80c278fcba837d50f75a49f18ea44c15.zip fluxbox_pavel-9069ae0d80c278fcba837d50f75a49f18ea44c15.tar.bz2 |
fix up a number of things for when a window hides while moving,
including a crash bug
Diffstat (limited to 'src/Screen.cc')
-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 19f7d3a..3497f7d 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.277 2004/05/02 21:12:22 fluxgen Exp $ | 25 | // $Id: Screen.cc,v 1.278 2004/05/13 01:48:17 rathnor Exp $ |
26 | 26 | ||
27 | 27 | ||
28 | #include "Screen.hh" | 28 | #include "Screen.hh" |
@@ -851,7 +851,7 @@ void BScreen::changeWorkspaceID(unsigned int id) { | |||
851 | } | 851 | } |
852 | } | 852 | } |
853 | 853 | ||
854 | currentWorkspace()->hideAll(); | 854 | currentWorkspace()->hideAll(false); |
855 | 855 | ||
856 | // set new workspace | 856 | // set new workspace |
857 | m_current_workspace = getWorkspace(id); | 857 | m_current_workspace = getWorkspace(id); |
@@ -903,7 +903,7 @@ void BScreen::sendToWorkspace(unsigned int id, FluxboxWindow *win, bool changeWS | |||
903 | 903 | ||
904 | // if the window isn't on current workspace, hide it | 904 | // if the window isn't on current workspace, hide it |
905 | if (id != currentWorkspace()->workspaceID()) | 905 | if (id != currentWorkspace()->workspaceID()) |
906 | win->withdraw(); | 906 | win->withdraw(true); |
907 | 907 | ||
908 | reassociateWindow(win, id, true); | 908 | reassociateWindow(win, id, true); |
909 | 909 | ||