mfwm

A tiling fork of dylanaraps sowm.
git clone git://depsterr.com/git/mfwm
Log | Files | Refs | README | LICENSE

commit 1fb75817aa741bb56d118d0347c1ff3f2d3cf755
parent df34385548519e56a65b7ba14edf11d1dbb34e08
Author: Dylan Araps <dylan.araps@gmail.com>
Date:   Mon, 25 Nov 2019 14:30:34 +0000

sowm: prevent fullscreen windows from being moved or resized.

Diffstat:
Msowm.c | 4++--
1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/sowm.c b/sowm.c @@ -93,7 +93,7 @@ void notify_enter(XEvent *e) { } void notify_motion(XEvent *e) { - if (!mouse.subwindow) return; + if (!mouse.subwindow || cur->f) return; while(XCheckTypedEvent(d, MotionNotify, e)); @@ -124,7 +124,7 @@ void button_press(XEvent *e) { } void button_release() { - cur->f = mouse.subwindow = 0; + mouse.subwindow = 0; } void win_add(Window w) {