Expo: maximized windows out of bounds

Bug #1425725 reported by Arnaud
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Compiz
New
Undecided
Unassigned

Bug Description

In Expo plugin, maximized windows are streched and get outside desktop bounds -- see attached screenshot

I've located the guilty part of expo.cpp :

--- src/expo.cpp 2015-02-25 22:21:47.593235412 +0100
+++ patched/expo.cpp 2015-02-25 22:22:29.281235998 +0100
@@ -1491,6 +1491,7 @@

  /* Stretch maximized windows a little so that you don't
   * have an awkward gap */
+ /*
  if (((window->state () & MAXIMIZE_STATE) == MAXIMIZE_STATE) &&
      (eScreen->dndWindow != window))
  {
@@ -1505,6 +1506,7 @@
       -(window->y () + window->height ()),
       0.0f);
  }
+ */
     }

     return gWindow->glPaint (attrib, wTransform, region, mask);

It's probably helpfull for some people but dont fit with a classical desktop with one bottom panel bar.
It would be great to be able to disable this "feature" in ccsm -- or to delete the incrimined part of the code

Thanks for the good job ;)

Revision history for this message
Arnaud (arnaud-y) wrote :
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.