[PATCH] Set dialog hint for X11 message boxes

Hello, list.

The attached patch sets the _NET_WM_WINDOW_TYPE property for X11
message boxes to the expected value, _NET_WM_WINDOW_TYPE_DIALOG. This
improves the behaviour under tiling window managers.
-------------- next part --------------
A non-text attachment was scrubbed…
Name: sdl-dialog.patch
Type: text/x-diff
Size: 1258 bytes
Desc: not available
URL: http://lists.libsdl.org/pipermail/sdl-libsdl.org/attachments/20140127/8268b7fd/attachment-0001.patch

I use a tiling window manager. Is this issue possibly responsible for
behaviour such as SDL windows sometimes being made to float instead of
tile? It seems to happens randomly, with the same build of a very
simple application that simply opens a window. On most runs, it’s
fine, but sometimes it will open as a floating window repeatedly.On Mon, Jan 27, 2014 at 6:31 AM, Melker Narikka wrote:

Hello, list.

The attached patch sets the _NET_WM_WINDOW_TYPE property for X11
message boxes to the expected value, _NET_WM_WINDOW_TYPE_DIALOG. This
improves the behaviour under tiling window managers.


SDL mailing list
SDL at lists.libsdl.org
http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org

Nevermind, I think I misunderstood. this patch is to improve the
behaviour of dialogs that are meant to float.On Mon, Jan 27, 2014 at 9:20 AM, Laftur Jeremy <@Laftur_Jeremy> wrote:

I use a tiling window manager. Is this issue possibly responsible for
behaviour such as SDL windows sometimes being made to float instead of
tile? It seems to happens randomly, with the same build of a very
simple application that simply opens a window. On most runs, it’s
fine, but sometimes it will open as a floating window repeatedly.

On Mon, Jan 27, 2014 at 6:31 AM, Melker Narikka wrote:

Hello, list.

The attached patch sets the _NET_WM_WINDOW_TYPE property for X11
message boxes to the expected value, _NET_WM_WINDOW_TYPE_DIALOG. This
improves the behaviour under tiling window managers.


SDL mailing list
SDL at lists.libsdl.org
http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org