Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Impossible to drag elements in bitwig while running bspwm. #391

Closed
ghost opened this issue Feb 7, 2016 · 8 comments
Closed

Impossible to drag elements in bitwig while running bspwm. #391

ghost opened this issue Feb 7, 2016 · 8 comments

Comments

@ghost
Copy link

ghost commented Feb 7, 2016

It is impossible to click and drag elements (audio clips, samples from explorer, samples to sampler) in bitwig while using bspwm (works fine in spectrwm, dwm, i3, etc).

@ploz
Copy link

ploz commented Feb 8, 2016

Try adding the following lines to load at startup through bspwmrc:

#!/bin/bash
# fix Java GUI rendering - found in baskerville's dotfiles
IRONIC_WM_NAME="LG3D"
NET_WIN=$(xprop -root _NET_SUPPORTING_WM_CHECK | awk -F "# " '{print $2}')
if [[ "$NET_WIN" == 0x* ]]; then
    xprop -id "$NET_WIN" -remove _NET_WM_NAME
    xprop -id "$NET_WIN" -f _NET_WM_NAME 8s -set _NET_WM_NAME "$IRONIC_WM_NAME"
else
    xprop -root -remove _NET_WM_NAME
    xprop -root -f _NET_WM_NAME 8s -set _NET_WM_NAME "$IRONIC_WM_NAME"
fi

@ghost
Copy link
Author

ghost commented Feb 8, 2016

If you meant add that to my bspwmrc, having look like this:

#! /bin/sh                                                                         

sxhkd &                                                                            

bspc config border_width         2                                                 
bspc config window_gap          12                                                 

bspc config split_ratio          0.52                                              
bspc config borderless_monocle   true                                              
bspc config gapless_monocle      true                                              
bspc config focus_by_distance    true                                              
bspc config history_aware_focus  true                                              

bspc monitor DFP9 -d one                                                           
bspc monitor DFP10 -d two three four five six seven eight nine ten eleven          

bspc rule -a Gimp desktop=^8 state=floating follow=on                              
bspc rule -a Chromium desktop=^2                                                   
bspc rule -a mplayer2 state=floating                                               
bspc rule -a Kupfer.py focus=on                                                    
bspc rule -a Screenkey manage=off

# fix Java GUI rendering - found in baskerville's dotfiles                         
IRONIC_WM_NAME="LG3D"                                                              
NET_WIN=$(xprop -root _NET_SUPPORTING_WM_CHECK | awk -F "# " '{print $2}')         
if [[ "$NET_WIN" == 0x* ]]; then                                                   
    xprop -id "$NET_WIN" -remove _NET_WM_NAME                                      
    xprop -id "$NET_WIN" -f _NET_WM_NAME 8s -set _NET_WM_NAME "$IRONIC_WM_NAME" 
else                                                                               
    xprop -root -remove _NET_WM_NAME                                               
    xprop -root -f _NET_WM_NAME 8s -set _NET_WM_NAME "$IRONIC_WM_NAME"          
fi 

It didn't work, if you meant having .xinitrc executing a .sh file on start up, it also did not work.

@baskerville
Copy link
Owner

Have you tried export _JAVA_AWT_WM_NONREPARENTING=1?

@baskerville
Copy link
Owner

Is this still happening?

@christoph00
Copy link

it is still not working

@Deluxo
Copy link

Deluxo commented Sep 8, 2016

same thing to me as well. bump.

@mkditto
Copy link

mkditto commented Oct 8, 2016

same for me as well

@Deluxo
Copy link

Deluxo commented Dec 23, 2016

Good news! This is issue is no longer reproducible! I believe this ticket can be closed! BSPWM <3

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants