~sethj/ubuntu/wily/unity/fix-for-1445595

« back to all changes in this revision

Viewing changes to plugins/unityshell/src/compizminimizedwindowhandler.h

  • Committer: Daniel van Vugt
  • Date: 2012-10-11 01:44:15 UTC
  • mfrom: (2826 trunk)
  • mto: This revision was merged to the branch mainline in revision 2847.
  • Revision ID: daniel.van.vugt@canonical.com-20121011014415-jvudq1d7bn1z268j
Merge latest lp:unity and fix a conflict

Show diffs side-by-side

added added

removed removed

Lines of Context:
154
154
  {
155
155
    CompWindow *win = screen->findWindow (w);
156
156
 
157
 
    if (win)
 
157
    if (win && win->isMapped())
158
158
    {
159
159
      Window *w = Window::get (win);
160
160
      if (!w->mMinimizeHandler)
235
235
  {
236
236
    CompWindow *win = screen->findWindow (w);
237
237
 
238
 
    if (win)
 
238
    if (win && win->isMapped())
239
239
    {
240
240
      Window *w = Window::get (win);
241
241
      if (w && w->mMinimizeHandler)