Skip to content

Drop "send_event" boolean trap in X11Window::restackWindow()

Vlad Zahorodnii requested to merge work/zzag/drop-send-event-boolean-trap into master

The synthetic ConfigureNotify event is not sent when the stack mode is TopIf and BottomIf, i.e. the way the restackWindow() function handles the "send_event" argument is inconsistent.

And the window manager doesn't have to send a synthetic configure event when processing a _NET_RESTACK_WINDOW client message. It must do it only after handling a ConfigureRequest request, which the X11Window::configureRequestEvent() function already does.

So rather than fixing the handling of the "send_event" argument, this change removes that boolean trap instead.

Edited by Vlad Zahorodnii

Merge request reports