bspwm icon indicating copy to clipboard operation
bspwm copied to clipboard

Cannot move or resize floating window using mouse after toggling from a tiled one

Open amosbird opened this issue 7 years ago • 5 comments

super + f
    if [ -z "$(bspc query -N -n focused.floating)" ]; then \                    
        bspc node focused -t floating; \                                        
    else \                                                                      
        bspc node focused -t tiled; \                                           
    fi

I use this key bind to toggle a window from tiled to floating. However, this floating window then doesn't allow moving or resizing by mouse.

amosbird avatar Aug 17 '19 09:08 amosbird

I think that you have following default binding in you sxhkdrc that puts it in fullscreen instead:

super + {t,shift + t,s,f}
        bspc node -t {tiled,pseudo_tiled,floating,fullscreen}

ghost avatar Aug 17 '19 12:08 ghost

Nope, it's floating not fullscreen. And that's the only super key binding I use

amosbird avatar Aug 17 '19 12:08 amosbird

So it doesn't work only with the binding you wrote? But if you put set floating state manually from terminal with: bspc node focused -t floating Can you move/resize it? What are versions of bspwm, sxhkd and what is your $SHELL?

ghost avatar Aug 17 '19 13:08 ghost

But if you put set floating state manually from terminal with: bspc node focused -t floating Can you move/resize it?

I can't.

bspwm 0.9.5 . I don't think it's related to sxhkd and shell

amosbird avatar Aug 17 '19 13:08 amosbird

Not related to your issue but, if you want a simpler way to toggle floating:

super + f
	bspc node -t floating || bspc node -t tiled

Or even better:

super + f
	bspc node -t {floating,tiled}

mdutra avatar Sep 23 '19 11:09 mdutra