Close
Showing results 1 to 10 of 14

Threaded View

  1. #4

    Default

    Hello,

    Good you found a way to make it work.
    At first I assumed you were getting correct window's id for your wow instances, apparently that was not the case, I should have checked.

    If you run one world of warcraft instance without the "virtual desktop" enabled in winecfg for this prefix, you can see the following :
    -xdotool search --name "World of Warcraft" : will return two window ID.
    -xdotool search --pid $(pidof Wow.exe) : will return three window ID.

    At least, that is what I get on my side.

    I recommend you to install the program "xwininfo" which is easy to use and will help you to figure out what window to use in the future.

    You said you were using xdotool key --window $(xdotool search --pid $(pidof Wow.exe)) which in that case should use the first ID in the list which is in my case the "Default IME" window (you can verify it by doing xwininfo -id $(xdotool search --pid $(pidof Wow.exe) | head -1) which should return you the name "Default IME").
    (xdotool take the first window in the list if there are many)

    So now, what window should you use, that is the question, "Default IME" is responsive of taking inputs so this should be enough, but if at some points you don't see that window, try using some other window ID, for myself, I use one of the window listed with xdotool search --name "World of Warcraft".

    I replicated what you were using and I couldn't send any inputs to other wow instances which were unactivated (without the need to enable "virtual desktop") like I said in my first post, so, here are my questions :


    -Are you sure you are now able to send inputs to other instances without the need to activate them ?
    -Are you launching all of these instances in the same or different wine prefixes ?
    -What version of wine are you using ?
    -Is the "virtual desktop" option disabled or enabled ?

    As for my sources, sadly they are not on Github and I'am keeping them for now, I'am waiting few months before releasing something to the public.

    But I can answer few questions if you have any, related to Linux/X11 if you are stuck at any point, don't hesitate to send me a private message.

    Intoxx.
    Last edited by intoxx : 03-16-2019 at 09:21 PM

Tags for this Thread

Posting Rules

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •