]> git.sur5r.net Git - i3/i3/commit - i3bar/src/xcb.c
Handle ResizeRequests for tray clients. (#2495)
authorIngo Bürk <admin@airblader.de>
Tue, 11 Oct 2016 18:46:25 +0000 (20:46 +0200)
committerMichael Stapelberg <stapelberg@users.noreply.github.com>
Tue, 11 Oct 2016 18:46:25 +0000 (11:46 -0700)
commite82e26a24d22e2f92cd90d9547c213493e94ea63
treee70fd4dbb90fd214ad12928270d1cc7919679bf0
parent3cba06f7b970d34b540c65e10c4cef8a8ced7e57
Handle ResizeRequests for tray clients. (#2495)

Some tray clients such as VLC use override_redirect on their tray window. As per
specification this means i3bar won't receive a ConfigureRequest, but instead a
ResizeRequest will be triggered. If not selected, the X server will simply confirm
the request which leads to a broken tray window size.

This commit selects and handles the event just like a configure request is handled.

fixes #2494
i3bar/src/xcb.c