Code Monkey home page Code Monkey logo

Comments (10)

Liupold avatar Liupold commented on May 24, 2024 1

I'm not 100% on this but I think we can short , (window ID will increase) from parent to child. I am going to try that today and have a look. Sorry my time zone is different.

from pidswallow.

Liupold avatar Liupold commented on May 24, 2024 1

fixed on: a50ec46

from pidswallow.

Liupold avatar Liupold commented on May 24, 2024 1

Here's a video of some quick tests I did

Edit: Running latest (b931a77) with $TERMINAL as alacritty (that's why alacritty works)
Edit: XFCE produces the same weird window for xfce4-terminal:
image

Damn I got Rick rolled!

from pidswallow.

SeerLite avatar SeerLite commented on May 24, 2024 1

Sorry about that ;)

from pidswallow.

SeerLite avatar SeerLite commented on May 24, 2024

Same issue with xfce4-terminal on XFCE. Not sure how to deal with this.

from pidswallow.

SeerLite avatar SeerLite commented on May 24, 2024

Looks like I didn't test well enough yesterday...

from pidswallow.

SeerLite avatar SeerLite commented on May 24, 2024

Here's a video of some quick tests I did

Edit: Running latest (b931a77) with $TERMINAL as alacritty (that's why alacritty works)
Edit: XFCE produces the same weird window for xfce4-terminal:
image

from pidswallow.

SeerLite avatar SeerLite commented on May 24, 2024

Okay I figured something out. Everytime I tested, the "real" konsole window was the lowest number WID from xdotool search. In bspwm, this one is always the first, but in Plasma, it's usually the last one instead (no clue why!)
I think we're either gonna have to sort the WIDS by value and use the lowest one or check every WID for a real mapped window and use the one that is.

from pidswallow.

SeerLite avatar SeerLite commented on May 24, 2024

https://0x0.st/ixvY.patch worked for Konsole/Plasma but not for XFCE. I think we're gonna have to check each individually. I wonder if there's any xdotool command for that.

from pidswallow.

SeerLite avatar SeerLite commented on May 24, 2024

I feel so stupid now...

       --onlyvisible
          Show only visible windows in the results. This means ones with
          map state IsViewable.

Btw: Sorry for the possible spam. I just realized I've been replying to myself a lot and I could have done all these tests in one go and put the results later.

from pidswallow.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.