mirror of
https://github.com/labwc/labwc.git
synced 2025-11-04 13:30:07 -05:00
IME: fix flicker when popup surface is initially mapped
Before this commit, a popup surface was placed at (0,0) on its creation. So if the popup surface is already mapped on its creation, the popup was shown at (0,0) then quickly moved to the input-rect on surface commits or input-rect updates.
This commit is contained in:
parent
5ef50986c2
commit
1cd9940307
1 changed files with 2 additions and 0 deletions
|
|
@ -391,6 +391,8 @@ handle_input_method_new_popup_surface(struct wl_listener *listener, void *data)
|
|||
node_descriptor_create(&popup->tree->node, LAB_NODE_DESC_IME_POPUP, NULL);
|
||||
|
||||
wl_list_insert(&relay->popups, &popup->link);
|
||||
|
||||
update_popup_position(popup);
|
||||
}
|
||||
|
||||
static void
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue