You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
With the code above, everything works except the window being drawn on top. The focus is put into the window of interest, said window is moved and resized as expected but it doesn't raise on top. If I use window.raise_window() nothing happens. Using either methods, I don't get any error messages, it just doesn't work.
Am I missing something, or doing something wrong? I'm using MATE Desktop (on X, of course), Python 3.12.7 on Fedora.
Also, is there a way to get the window ID from the process PID using python-xlib? At the moment I'm using wmctrl but I'm wondering if there's a better way.
Thanks.
The text was updated successfully, but these errors were encountered:
I'm trying to bring a specific window on top of all else and set focus to it. This is what I have so far:
With the code above, everything works except the window being drawn on top. The focus is put into the window of interest, said window is moved and resized as expected but it doesn't raise on top. If I use
window.raise_window()
nothing happens. Using either methods, I don't get any error messages, it just doesn't work.Am I missing something, or doing something wrong? I'm using MATE Desktop (on X, of course), Python 3.12.7 on Fedora.
Also, is there a way to get the window ID from the process PID using python-xlib? At the moment I'm using wmctrl but I'm wondering if there's a better way.
Thanks.
The text was updated successfully, but these errors were encountered: