Comment 7 for bug 842745

Daniel van Vugt (vanvugt) wrote :

Looking at the code, the missing dock (launcher) issue does not look like it is fixed in oneiric either. Both versions of unity for 11.04 and 11.10 appear to use the root mouse pointer location 0 (unity 3) or <= 1 (unity 4) to reveal the launcher. However in the case of this bug we need the launcher to reveal itself when x is much larger than 1 because the small screen starts at an x offset much larger than 1.

Unity 3:
   if (root_x_r == 0)
    self->launcher->EdgeRevealTriggered ();

Unity 4:
  if (pointerX <= 1)
  {
    if (abs(pointerY-self->_edge_pointerY) <= 5)
    {
      self->launcher->EdgeRevealTriggered(pointerX, pointerY);
    }