e_xdg_shell_v6: Ensure to send configure event 13/302213/1
authorSeunghun Lee <shiin.lee@samsung.com>
Fri, 17 Nov 2023 05:48:29 +0000 (14:48 +0900)
committerTizen Window System <tizen.windowsystem@gmail.com>
Mon, 4 Dec 2023 06:26:55 +0000 (15:26 +0900)
This removes the hack code that sets the configured flag to true, and
this is to ensure that an initial configure event is sent.

It was actually intended to prevent raising protocol errors when the
server received requests for xdg_toplevel_v6.move and
xdg_toplevel_v6.resize before receiving the configure ack for backward
compatibility. However, it has to be considered a client error.

Change-Id: Ifb5566fd4c0640ffa191246e757de6e3b83969f3

src/bin/e_xdg_shell_v6.c

index e8cc105fe075e7edda8444627aaa6a73feec2d53..ab1c5c006a96e096e39043b4c3812f58a0d307ce 100644 (file)
@@ -739,12 +739,6 @@ _e_xdg_toplevel_v6_add(struct ds_xdg_surface_v6 *ds_xdg_surface)
    _e_xdg_toplevel_v6_listener_init(toplevel);
    _e_xdg_toplevel_v6_init(toplevel);
 
-   // FIXME HACK
-   // For wayland clients which don't follow the rule of
-   // xdg_shell_v6.configure, this sets `configured` variable as true to work
-   // with libds which does follow the rule of xdg_shell_v6 spec.
-   ds_xdg_surface->configured = EINA_TRUE;
-
    LOG("Created E_Xdg_Toplevel_V6(%p)", toplevel->ec, toplevel);
 }