This should allow you to switch into workspaces that are occupied with a BWindowScreen
by clicking into the workspace. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17649 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
@@ -389,7 +389,8 @@ WorkspacesLayer::MouseDown(BMessage* message, BPoint where)
|
|||||||
while (workspace.GetNextWindow(window, leftTop) == B_OK) {
|
while (workspace.GetNextWindow(window, leftTop) == B_OK) {
|
||||||
BRect frame = _WindowFrame(workspaceFrame, screenFrame, window->Frame(),
|
BRect frame = _WindowFrame(workspaceFrame, screenFrame, window->Frame(),
|
||||||
leftTop);
|
leftTop);
|
||||||
if (frame.Contains(where) && window->Feel() != kDesktopWindowFeel) {
|
if (frame.Contains(where) && window->Feel() != kDesktopWindowFeel
|
||||||
|
&& window->Feel() != kWindowScreenFeel) {
|
||||||
// We can't exit the loop here, as we traverse the window
|
// We can't exit the loop here, as we traverse the window
|
||||||
// list in the wrong direction...
|
// list in the wrong direction...
|
||||||
fSelectedWindow = window;
|
fSelectedWindow = window;
|
||||||
|
|||||||
Reference in New Issue
Block a user