it's not really setting the window to slide, but saying "slide this window"
svn path=/trunk/KDE/kdelibs/; revision=1003321
This commit is contained in:
parent
0de5d23864
commit
4dd1cc887b
@ -597,7 +597,7 @@ void Dialog::animatedHide(Plasma::Direction direction)
|
||||
break;
|
||||
}
|
||||
|
||||
Plasma::WindowEffects::setSlidingWindow(winId(), location, offset);
|
||||
Plasma::WindowEffects::slideWindow(winId(), location, offset);
|
||||
|
||||
hide();
|
||||
}
|
||||
@ -634,7 +634,7 @@ void Dialog::animatedShow(Plasma::Direction direction)
|
||||
break;
|
||||
}
|
||||
|
||||
Plasma::WindowEffects::setSlidingWindow(winId(), location, offset);
|
||||
Plasma::WindowEffects::slideWindow(winId(), location, offset);
|
||||
|
||||
show();
|
||||
|
||||
|
@ -28,7 +28,7 @@ namespace Plasma
|
||||
namespace WindowEffects
|
||||
{
|
||||
|
||||
void setSlidingWindow(WId id, Plasma::Location location, int offset)
|
||||
void slideWindow(WId id, Plasma::Location location, int offset)
|
||||
{
|
||||
#ifdef Q_WS_X11
|
||||
Display *dpy = QX11Info::display();
|
||||
|
@ -51,7 +51,7 @@ namespace WindowEffects
|
||||
* @arg offset distance in pixels from the screen edge defined by location
|
||||
* @since 4.4
|
||||
*/
|
||||
PLASMA_EXPORT void setSlidingWindow(WId id, Plasma::Location location, int offset);
|
||||
PLASMA_EXPORT void slideWindow(WId id, Plasma::Location location, int offset);
|
||||
}
|
||||
|
||||
} // namespace Plasma
|
||||
|
Loading…
Reference in New Issue
Block a user