Hi all, try the attached patch by GSR, I'm currently test-running it the issues seems to be (atleast) partially solved, still needs testing to ensure it does not cause new issues.
Also you may try gtk3-nocsd, which disables Client Side Decoration sh** (available from official Debian repos, dunno about other distributions). Regards, Chris On 09.12.2017 18:52, Per Hedeland wrote: > On 2017-12-09 06:54, Trevor Cordes wrote: >> This has been mentioned here before, recently. Sometimes clicking at >> random places in an app like firefox causes the cursor to switch to a >> cross and then moving the mouse resizes the window, without the button >> being held down. Obviously a bug. > > FWIW, I also encounter this pretty frequently - never suspected sawfish > though (I must have missed the earlier mention). > >> Anyhow, I recall no one could pin down exactly how to reliably >> reproduce it on demand. I just did: >> >> In FF57 open a couple of tabs. Click the empty area to the right of >> the tabs, to the right of the "+" sign. Then click one of the tab >> titles. This causes the "click turns into a resize drag" bug >> instantly, every time. At least for me on Fedora 26 anyhow. > > Ditto here - for me it's enough to have a single tab. FF 56.0.2, FreeBSD > 11.1-RELEASE. > > --Per > >> Anyone have a fix yet? >> > >
>From 176c5795aa71f48963a0e1cdef30480c41769ade Mon Sep 17 00:00:00 2001 From: "Guillermo S. Romero" <gsro...@infernal-iceberg.com> Date: Wed, 12 Jul 2017 22:43:58 +0200 Subject: [PATCH] Workaround GTK3 apps going into resize mode randomly. Just recognize _NET_WM_MOVERESIZE_CANCEL and ignore such calls for now. --- lisp/sawfish/wm/state/wm-spec.jl | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/lisp/sawfish/wm/state/wm-spec.jl b/lisp/sawfish/wm/state/wm-spec.jl index 5feb4822..8c171d1c 100644 --- a/lisp/sawfish/wm/state/wm-spec.jl +++ b/lisp/sawfish/wm/state/wm-spec.jl @@ -58,6 +58,7 @@ (defconst _NET_WM_MOVERESIZE_MOVE 8) (defconst _NET_WM_MOVERESIZE_SIZE_KEYBOARD 9) (defconst _NET_WM_MOVERESIZE_MOVE_KEYBOARD 10) + (defconst _NET_WM_MOVERESIZE_CANCEL 11) (defconst _NET_WM_STATE_REMOVE 0) (defconst _NET_WM_STATE_ADD 1) @@ -94,6 +95,7 @@ _NET_WM_MOVERESIZE_SIZE_TOPRIGHT _NET_WM_MOVERESIZE_SIZE_KEYBOARD _NET_WM_MOVERESIZE_MOVE_KEYBOARD + _NET_WM_MOVERESIZE_CANCEL _NET_WM_PING _NET_WM_STATE _NET_WM_STATE_ABOVE @@ -522,7 +524,11 @@ '(left)) ((eq mode _NET_WM_MOVERESIZE_SIZE_RIGHT) '(right))))) - (resize-window-interactively w)))))) + ;; XXX ignore CANCELs for now + ;; XXX see reports about GTK3 going into resize randomly + ;; XXX probably need to rework all this block + (if (not (eq mode _NET_WM_MOVERESIZE_CANCEL)) + (resize-window-interactively w))))))) ((_NET_NUMBER_OF_DESKTOPS) (set-number-of-workspaces (aref data 0))) -- 2.13.2