- this should fix gcc2 build, sorry ;)
- style fixes. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33691 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
@@ -923,7 +923,7 @@ BWindow::DispatchMessage(BMessage* msg, BHandler* target)
|
|||||||
|
|
||||||
int32 next = nextColumn + nextRow * columns;
|
int32 next = nextColumn + nextRow * columns;
|
||||||
if (next != current) {
|
if (next != current) {
|
||||||
uint32 workspaces;
|
uint32 workspaces = 0;
|
||||||
if (takeMeThere) {
|
if (takeMeThere) {
|
||||||
workspaces = Workspaces() | (1 << next);
|
workspaces = Workspaces() | (1 << next);
|
||||||
|
|
||||||
@@ -935,11 +935,10 @@ BWindow::DispatchMessage(BMessage* msg, BHandler* target)
|
|||||||
// switch to it
|
// switch to it
|
||||||
activate_workspace(next);
|
activate_workspace(next);
|
||||||
|
|
||||||
if (takeMeThere && (workspaces != B_ALL_WORKSPACES)) {
|
if (takeMeThere && workspaces != B_ALL_WORKSPACES) {
|
||||||
workspaces &= ~(1 << current);
|
workspaces &= ~(1 << current);
|
||||||
SetWorkspaces(workspaces);
|
SetWorkspaces(workspaces);
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user