all repos — openbox @ 9583bb6cb8dacb1be9674bf7d91d6886ad0d7dd2

openbox fork - make it a bit more like ryudo

add comment, and reformat
Dana Jansens danakj@orodu.net
commit

9583bb6cb8dacb1be9674bf7d91d6886ad0d7dd2

parent

8d4fe416e5d940670df7b974a004ac041e21196f

1 files changed, 3 insertions(+), 5 deletions(-)

jump to
M src/frame.ccsrc/frame.cc

@@ -405,8 +405,7 @@

void Frame::grabClient() { // reparent the client to the frame - XReparentWindow(**otk::display, _client->window(), - _plate.window(), 0, 0); + XReparentWindow(**otk::display, _client->window(), _plate.window(), 0, 0); /* When reparenting the client window, it is usually not mapped yet, since this occurs from a MapRequest. However, in the case where Openbox is

@@ -418,9 +417,8 @@ */

if (openbox->state() == Openbox::State_Starting) _client->ignore_unmaps += 2; - // select the event mask on the client's parent (to receive config req's) - XSelectInput(**otk::display, _plate.window(), - SubstructureRedirectMask); + // select the event mask on the client's parent (to receive config/map req's) + XSelectInput(**otk::display, _plate.window(), SubstructureRedirectMask); // map the client so it maps when the frame does XMapWindow(**otk::display, _client->window());