diff options
author | Silvio Rhatto <rhatto@riseup.net> | 2017-09-30 10:04:17 -0300 |
---|---|---|
committer | Silvio Rhatto <rhatto@riseup.net> | 2017-09-30 10:04:17 -0300 |
commit | 325e9c6e043abfcbe361d8afb2e604954f2b2e6b (patch) | |
tree | 3305ad098c57af51bd61f7c9dc4ab1bc1680ce42 | |
parent | 2050e8cdbfe238e6c6235747498bb21804a1eb45 (diff) | |
download | kvmx-325e9c6e043abfcbe361d8afb2e604954f2b2e6b.tar.gz kvmx-325e9c6e043abfcbe361d8afb2e604954f2b2e6b.tar.bz2 |
Rename spice_windowmove to xclient_windomove and apply it to Xephyr
-rwxr-xr-x | kvmx | 8 |
1 files changed, 6 insertions, 2 deletions
@@ -226,8 +226,8 @@ function kvmx_spice { # Fix window title an position if which /usr/bin/xdotool &> /dev/null; then - if [ ! -z "$spice_windowmove" ]; then - xdotool search --name "SPICEc:0" windowmove $spice_windowmove + if [ ! -z "$xclient_windowmove" ]; then + xdotool search --name "SPICEc:0" windowmove $xclient_windowmove fi xdotool search --name "SPICEc:0" set_window --name $VM @@ -1097,6 +1097,10 @@ function kvmx_xephyr { # Fix window titles if which /usr/bin/xdotool &> /dev/null; then + if [ ! -z "$xclient_windowmove" ]; then + xdotool search --name "Xephyr on :" windowmove $xclient_windowmove + fi + xdotool search --name "Xephyr on :" set_window --name $VM fi } |