Ticket #8186: WorkspacesRaise.diff

File WorkspacesRaise.diff, 600 bytes (added by devine, 12 years ago)

My first Haiku patch. Fixes the broken Auto-raise for Workspaces.

  • src/apps/workspaces/Workspaces.cpp

    diff --git a/src/apps/workspaces/Workspaces.cpp b/src/apps/workspaces/Workspaces.cpp
    index 043fd18..56e6c82 100644
    a b WorkspacesView::MouseMoved(BPoint where, uint32 transit,  
    538538       if (where.x == frame.left || where.x == frame.right
    539539               || where.y == frame.top || where.y == frame.bottom) {
    540540               // cursor is on screen edge
    541                if (window->Frame().Contains(where))
     541               if (frame.Contains(where))
    542542                       window->Activate();
    543543       }
    544544}