You are not logged in.
Pages: 1
I have one small utility I use in XFCE https://kornelix.net/mystuff/mystuff.html which is somehow setting "Always On Top" by default everytime I run it. How are they doing this and I want to be able to turn it off. Anyone know how to override it back to "Same As Other Windows" all the time? Thanks!
Offline
I have one small utility I use in XFCE https://kornelix.net/mystuff/mystuff.html which is somehow setting "Always On Top" by default everytime I run it.
This is by design, it appears.
How are they doing this and I want to be able to turn it off. Anyone know how to override it back to "Same As Other Windows" all the time? Thanks!
If you are building the program from source, then comment out or delete line #259 of mystuff.cc:
gtk_window_set_keep_above(GTK_WINDOW(mPop),1); // 4.1
...and rebuild it.
If you are looking for an way to do it without rebuilding, then try something like this when starting the program:
mystuff & sleep 1 && wmctrl -r :ACTIVE: -b remove,above
...note: you may need to increase the duration of the sleep command there depending on how long it takes for the window to open.
Please remember to mark your thread [SOLVED] to make it easier for others to find
--- How To Ask For Help | FAQ | Developer Wiki | Community | Contribute ---
Offline
Oh wow, you are good. I didn't think to look in the source! Thanks!
Offline
Pages: 1
[ Generated in 0.013 seconds, 9 queries executed - Memory usage: 523.18 KiB (Peak: 524.02 KiB) ]