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

Re: [i3] GLFW_FLOATING window

2015-08-25 Thread Michael Stapelberg
On Tue, Aug 25, 2015 at 5:53 PM, Kevin J jkev...@umbc.edu 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:

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

[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 https://github.com/glfw/glfw/blob/b69b4a9f2a66159f670c5802d8105db211bfec3d/src/x11_window.c#L350-L357 . I have tried adding to the if statement in manage.c

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

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

Re: [i3] X session ends when last monitor turns off

2015-08-25 Thread Bart Samwel
Excellent, thanks! I can manage to live with it until this hits a release. :) On Mon, Aug 24, 2015 at 10:29 PM Michael Stapelberg mich...@i3wm.org wrote: See https://github.com/i3/i3/pull/1638 (not yet in any released version). Refer to http://i3wm.org/docs/repositories.html for automatically

Re: [i3] append layout works from commandline but not from .i3/config

2015-08-25 Thread Michael Stapelberg
On Tue, Aug 25, 2015 at 12:53 PM, i3.theg...@spamgourmet.com wrote: Hello Michael! Please don’t break threading in your replies, that makes it hard for people to follow the discussion. Ups, I'm sorry. It seems that using spamgourmet on the list might not be the best idea... I hope, the