~kees/unity/touch-coordinates

« back to all changes in this revision

Viewing changes to plugins/unityshell/src/BamfLauncherIcon.cpp

  • Committer: Jason Smith
  • Date: 2011-06-30 11:43:29 UTC
  • mfrom: (1255.5.2 unity-spreadwindows)
  • Revision ID: jason.smith@canonical.com-20110630114329-frxmur318ru0o3hn
merge branch to make spread only show windows on the current workspace

Show diffs side-by-side

added added

removed removed

Lines of Context:
504
504
    if (BAMF_IS_WINDOW (view))
505
505
    {
506
506
      guint32 xid = bamf_window_get_xid (BAMF_WINDOW (view));
 
507
      CompWindow *window = m_Screen->findWindow ((Window) xid);
507
508
 
508
 
      windowList.push_back ((Window) xid);
 
509
      // filter by workspace
 
510
      if (window && window->defaultViewport () == m_Screen->vp ())
 
511
      {
 
512
        windowList.push_back ((Window) xid);
 
513
      }
509
514
    }
510
515
  }
511
516