-
-
Notifications
You must be signed in to change notification settings - Fork 59
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
"desktop" attribute not present on i3-gaps #6
Comments
Unfortunately this is something the window manager itself needs to implement, as GLava itself has no (actual) control over where the window is positioned. There are other ways you can try to get GLava embedded in your desktop, however:
Try If you find a combination of |
Than for the rep, actually in i3, a non-tiling window must be on top of tiling ones. Which makes it impossible. I think I may find an answer modifying my i3 config. |
It also seems i3 has an IPC interface: https://i3wm.org/docs/ipc I can probably use this to get GLava embedded in the desktop of i3 without requiring the user to modify their config, but I will need to research a bit about i3 since I have not used it myself. If you do find an answer by modifying your config, please post your changes so that other users may see it. |
How does conky do it? |
@pasimko Conky draws to the root X11 window instead of creating its own. GLava creates its own window since it needs to also create its own OpenGL context. There may be some hacky way I can create a GLX context for the root X11 window, but I will have to ditch glfw's window creation code in order to do so. |
Depending on how the issue referenced above is responded to, I may attempt to implement some workaround trying to create a GLX context on the root window, now that I have separate window creation backends. |
Update: I tried to implement instantiating a GLX context on the root window. It did not work -- I was able to create the context and use it, but was not able to display anything. The only other application I can find that has attempted something similar is xscreensaver's The
edit: see unmanaged windows |
I think I recall it being possible through the i3 config, ill look into it later today |
@aaahh if you do find a solution via configuring i3, please share it. |
I failed to find it, it was on https://www.reddit.com/r/unixporn/ |
This problem may be fixed by using the new |
@Longhinus if you could test the results, that would be helpful. |
Hey @wacossusca34, thanks for your work on this! I've tested the latest git version with i3 and it works fine with |
@xg-teodor awesome! I wish I could have come up with the idea sooner, although it is a bit of a hack. |
I tried this and it works and all, but the xwinstate fullscreen request doesn't work |
Quick fix is to manually set full screen when this condition happens by taking motior/workspace size and setting it as window size and 00 position Edit: I’m @aaahh this was temp account |
@wundrweapon as @strongeggs mentioned, you will have to position the window yourself. /*
...
Alternatively, you can set this value to "!", which will cause
the window to be unmanaged. If this is set, then `addxwinstate`
will do nothing, but you can use "!+" and "!-" to stack on top
or below other windows.
*/ |
I'm trying to run this on i3-gaps but when I set "!-" on as the xwintype, it just doesn't show up anywhere. The program seems to run (I get the fps updates on the terminal) but nothing shows up. |
The desktop attribute is not available on i3-gaps (at least since the last gaps-next version).
If you could add a way to dispaly the visualizer in background instead of over other windows. Because i3 floating window must be ontop of tiling ones. On the official wiki it is say that the desktop attribute (to display a window beneath others) is not implemented in i3, thanks.
The text was updated successfully, but these errors were encountered: