Skip to content
  • Martin Flöser's avatar
    New way to determine in which direction to animate the magic lamp. Based on... · 3c449d81
    Martin Flöser authored
    New way to determine in which direction to animate the magic lamp. Based on the assumption that icon geometry is part of a panel. Using the panel to find the position is more safe as a the height of a vertical panel is greater than the width. This might not be true for the icon geometry. If the panel is autohidden we still have to use the icon geometry using the assumption that it will border one screen edge. For the unlikely case of bordering two screen edges the wrong animation might be used but it won't be distorted.
    There's still the possiblity of distortion if someone places the panel between two screens. But that's hardly possible to catch as it would require to animate parts of the window in one direction and the rest in another direction.
    BUG: 183059
    BUG: 183099
    
    svn path=/trunk/KDE/kdebase/workspace/; revision=936880
    3c449d81