paperwm / PaperWM

Tiled scrollable window management for Gnome Shell

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Permit disabling switching to the next/previous windows when clicking on the edge of the monitor.

grota opened this issue · comments

I might be clumsy but sometimes I click on the edge of the monitor by mistake and I do not want to switch to the next/previous windows.

I would like to disable that behavior entirely.

For me it would be enough to have the advanced option "Tiling edge preview scale" to disable edge switching when the user puts 0.

An alternative can be a standalone checkbox.

For me it would be enough to have the advanced option "Tiling edge preview scale" to disable edge switching when the user puts 0.

Hey @grota, this is trivial to implement and I'm happy to add this (it makes sense). Just requires this change:

replace

Main.activateWindow(this.target);

with this:

            if (Settings.prefs.edge_preview_scale > 0) {
                Main.activateWindow(this.target);
            }

I'll add this to the next update.

Thank you very much! 😗

Closed as released into latest release branch.