Set transient for on panels
This makes panels behave as expected. It feels incredibly wrong but shotcut does it, it can't be that bad.
This commit is contained in:
parent
3aa8495873
commit
6a3f45a2e0
@ -229,6 +229,11 @@ func (window mainWindow) NewPanel (width, height int) (elements.Window, error) {
|
||||
panel, err := window.backend.newWindow(width, height)
|
||||
if err != nil { return nil, err }
|
||||
panel.setClientLeader(window.window)
|
||||
window.setClientLeader(window.window)
|
||||
icccm.WmTransientForSet (
|
||||
window.backend.connection,
|
||||
panel.xWindow.Id,
|
||||
window.xWindow.Id)
|
||||
panel.setType("UTILITY")
|
||||
return panel, err
|
||||
}
|
||||
|
Reference in New Issue
Block a user