mirror of
https://github.com/keepassxreboot/keepassxc.git
synced 2025-11-09 10:15:14 -05:00
Show AutoTypeSelectDialog on the active desktop.
This wasn't always the case on X11 with virtual desktops. Closes #359
This commit is contained in:
parent
2fa531745f
commit
b02ec98ec6
1 changed files with 2 additions and 0 deletions
|
|
@ -33,6 +33,8 @@ AutoTypeSelectDialog::AutoTypeSelectDialog(QWidget* parent)
|
|||
, m_entryActivatedEmitted(false)
|
||||
{
|
||||
setAttribute(Qt::WA_DeleteOnClose);
|
||||
// Places the window on the active (virtual) desktop instead of where the main window is.
|
||||
setAttribute(Qt::WA_X11BypassTransientForHint);
|
||||
setWindowFlags(windowFlags() | Qt::WindowStaysOnTopHint);
|
||||
setWindowTitle(tr("Auto-Type - KeePassX"));
|
||||
setWindowIcon(filePath()->applicationIcon());
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue