appmenu: GlowBar::setInputMask() micro optimization

Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
This commit is contained in:
Ivailo Monev 2016-09-17 22:37:32 +00:00
parent cfd7fc7c57
commit 7e43f823bc

View file

@ -90,9 +90,7 @@ void GlowBar::setInputMask()
{
// Create an empty input mask to achieve click-through effect
// Thanks to MacSlow for this!
Pixmap mask;
mask = XCreatePixmap(QX11Info::display(),
Pixmap mask = XCreatePixmap(QX11Info::display(),
winId(),
1, /* width */
1, /* height */