screenedge: allow activating clients in drag and drop
In particular, this allows dragging onto autohide and dogde-window panels. BUG: 450579
This commit is contained in:
parent
9d76423285
commit
7752db3a88
1 changed files with 1 additions and 1 deletions
|
@ -244,7 +244,7 @@ bool Edge::activatesForPointer() const
|
|||
// Most actions do not handle drag and drop properly yet
|
||||
// but at least allow "show desktop" and "application launcher".
|
||||
if (waylandServer() && waylandServer()->seat()->isDragPointer()) {
|
||||
if (!m_edges->isDesktopSwitching() && m_action != ElectricActionShowDesktop && m_action != ElectricActionApplicationLauncher) {
|
||||
if (!m_edges->isDesktopSwitching() && m_action != ElectricActionNone && m_action != ElectricActionShowDesktop && m_action != ElectricActionApplicationLauncher) {
|
||||
return false;
|
||||
}
|
||||
// Don't activate edge when a mouse button is pressed, except when
|
||||
|
|
Loading…
Reference in a new issue