mirror of
https://bitbucket.org/smil3y/kdelibs.git
synced 2025-02-23 18:32:49 +00:00
kdeui: use DefaultScreen() to get the screen in KWindowSystem::minimizeWindow()
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
This commit is contained in:
parent
a265d51b10
commit
f2d1398ac7
1 changed files with 1 additions and 2 deletions
|
@ -773,8 +773,7 @@ void KWindowSystem::minimizeWindow( WId win, bool animation)
|
|||
create_atoms();
|
||||
sendClientMessageToRoot( win, kde_wm_change_state, IconicState, 1 );
|
||||
}
|
||||
QX11Info inf;
|
||||
XIconifyWindow( QX11Info::display(), win, inf.screen() );
|
||||
XIconifyWindow( QX11Info::display(), win, DefaultScreen( QX11Info::display()) );
|
||||
}
|
||||
|
||||
void KWindowSystem::unminimizeWindow( WId win, bool animation )
|
||||
|
|
Loading…
Add table
Reference in a new issue