mirror of
https://github.com/hyprwm/Hyprland.git
synced 2025-09-14 15:28:22 +00:00
IME: Refactor and fixup popups
This commit is contained in:
@@ -298,26 +298,6 @@ struct SIMEKbGrab {
|
||||
DYNLISTENER(grabDestroy);
|
||||
};
|
||||
|
||||
struct SIMEPopup {
|
||||
wlr_input_popup_surface_v2* pSurface = nullptr;
|
||||
|
||||
int x, y;
|
||||
int realX, realY;
|
||||
bool visible;
|
||||
CBox lastBox;
|
||||
|
||||
DYNLISTENER(mapPopup);
|
||||
DYNLISTENER(unmapPopup);
|
||||
DYNLISTENER(destroyPopup);
|
||||
DYNLISTENER(commitPopup);
|
||||
|
||||
DYNLISTENER(focusedSurfaceUnmap);
|
||||
|
||||
bool operator==(const SIMEPopup& other) const {
|
||||
return pSurface == other.pSurface;
|
||||
}
|
||||
};
|
||||
|
||||
struct STouchDevice {
|
||||
wlr_input_device* pWlrDevice = nullptr;
|
||||
|
||||
|
Reference in New Issue
Block a user