Re: [i3] GLFW_FLOATING window

2015-08-25 Thread Michael Stapelberg
On Tue, Aug 25, 2015 at 5:53 PM, Kevin J wrote: > Michael: > The reason I want the window to float is if I want a specific resolution for > the window (I'm working on an OpenGL project). Especially if the window is Use for_window with floating enable: http://i3wm.org/docs/userguide.html#_arbitra

Re: [i3] GLFW_FLOATING window

2015-08-25 Thread Ingo Bürk
Hi Kevin, Applications generally shouldn't dictate how the window manager has to manage windows. In fact the specs clearly state that the window manager is allowed to deny, allow or modify such requests and that the application needs to deal with that. Also note that if you provide proper info

Re: [i3] GLFW_FLOATING window

2015-08-25 Thread Kevin J
Michael: The reason I want the window to float is if I want a specific resolution for the window (I'm working on an OpenGL project). Especially if the window is set to be not user-resizeable, i3 will still resize it to fit it to a tile. I had read that and thought that maybe that wouldn't be the

Re: [i3] GLFW_FLOATING window

2015-08-25 Thread Ingo Bürk
Hi Michael, I agree that there are better choices. On a side note, I noticed the other day that Google Hangout screen sharing opens a window to offer ending the screen share session with this very atom. That window definitely needs to float, though it's easy to argue that Chrome is at fault he

Re: [i3] GLFW_FLOATING window

2015-08-25 Thread Ingo Bürk
Hi Kevin, On the bottom of manage.c you also need to increase the number of atoms that i3 lists as supported. Also make sure you added the new atom not at the very end of atoms.xmacro as not all of them are copied into the supported list and GLFW seems to actually check for support. If all o

Re: [i3] GLFW_FLOATING window

2015-08-25 Thread Michael Stapelberg
http://standards.freedesktop.org/wm-spec/1.3/ar01s05.html contains: """ _NET_WM_STATE_ABOVE indicates that the window should be on top of most windows (see the section called “Stacking order” for details). _NET_WM_STATE_BELOW indicates that the window should be below most windows (see the section

[i3] GLFW_FLOATING window

2015-08-25 Thread Kevin J
Hi everyone, GLFW has a window creation flag to make a window FLOATING, it uses _NET_WM_STATE_ABOVE to do this in x11_window.c . I have tried adding to the if statement in manage.c