Skip to content

Catching window move event #246

Answered by lc-soft
WhoAteDaCake asked this question in Q&A
Discussion options

You must be logged in to vote

is there a way to detect when a window was moved ?

In Linux, you can call LCUI_BindSysEvent() function to listen for the ConfigureNotify event, which contains the location and size of the window.

Related documents:

And how to move it programatically.

In the original design, the position and size of the widget will be synchronized to the surface it is bound to, but there is a problem that the window cannot move smoothly, so I cancel the position synchronization.

Can you tell me why you need to capture window move event?

Replies: 1 comment 3 replies

Comment options

You must be logged in to vote
3 replies
@WhoAteDaCake
Comment options

@WhoAteDaCake
Comment options

@lc-soft
Comment options

Answer selected by WhoAteDaCake
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants