Skip to content

Commit

Permalink
Don't send configure before WM places the window
Browse files Browse the repository at this point in the history
  • Loading branch information
AlanGriffiths committed Nov 21, 2024
1 parent ef8d3b1 commit a958636
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/server/frontend_wayland/layer_shell_v1.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -205,7 +205,7 @@ class LayerSurfaceV1 : public wayland::LayerSurfaceV1, public WindowWlSurfaceRol
/// the client acks a configure.
DoubleBuffered<geometry::Size> client_size;
DoubleBuffered<geometry::Displacement> offset;
bool configure_on_next_commit{true}; ///< If to send a .configure event at the end of the next or current commit
bool configure_on_next_commit{false}; ///< If to send a .configure event at the end of the next or current commit
MirFocusMode current_focus_mode{mir_focus_mode_disabled};
std::deque<std::pair<uint32_t, OptionalSize>> inflight_configures;
std::vector<wayland::Weak<XdgPopupStable>> popups; ///< We have to keep track of popups to adjust their offset
Expand Down

0 comments on commit a958636

Please sign in to comment.