gri3-wm/include
Michael Stapelberg 408b2bdb39 Bugfix: Eliminate race condition, fix dock windows
There was a race condition when mapping a window and not setting the event mask
before. Therefore, the ReparentNotify and (more important) the UnmapNotify generated
by reparenting were not received, thus leaving the awaiting_useless_unmap variable
of the client "true". To just make it work, in previous commits the DestroyNotify
handler was introduced. Fortunately, with fixing this race condition by first
setting the event mask and mapping the window afterwards, we can remove this handler.

As for the dock windows, there were quite some occurences were client->container
was used without checking if the client is inside a container at all.

Furthermore, the client’s strut containing the space to reserve at the screen edge
is now checked and the desired height is set to the window’s height if the strut
contains 0 or if no strut was specified at all.
2009-03-10 20:56:25 +01:00
..
commands.h Add vim hints, copyright notice to each file, add LICENSE, retab! everything 2009-02-14 02:33:31 +01:00
config.h Load configuration file from ~/.i3/config or /etc/i3/config 2009-03-04 09:16:18 +01:00
data.h Bugfix: Eliminate race condition, fix dock windows 2009-03-10 20:56:25 +01:00
debug.h Add vim hints, copyright notice to each file, add LICENSE, retab! everything 2009-02-14 02:33:31 +01:00
handlers.h Bugfix: Eliminate race condition, fix dock windows 2009-03-10 20:56:25 +01:00
i3.h Bugfix: Forgot to change the number of atoms correctly 2009-03-02 03:35:25 +01:00
layout.h Use "conn" for xcb_connection and "event" for xcb_event_* variables everywhere 2009-03-04 15:45:12 +01:00
queue.h Move stuff to include/ and src/ 2009-02-13 19:09:25 +01:00
table.h Bugfix: Rendering of colspan/rowspan was wrong 2009-03-05 17:17:37 +01:00
util.h Fix the warning on SUS-compatible systems (char**) and on NetBSD (const char**) 2009-03-08 17:47:45 +01:00
xcb.h Make colorpixels independent from clients 2009-03-05 02:58:12 +01:00
xinerama.h Implement wrapping left/right/up/down across screens 2009-03-09 07:39:19 +01:00