add MwNhideInput

git-svn-id: http://svn2.nishi.boats/svn/milsko/trunk@531 b9cfdab3-6d41-4d17-bbe4-086880011989
This commit is contained in:
NishiOwO
2025-10-31 17:40:16 +00:00
parent 1e1f9653ea
commit b1abe76aeb
5 changed files with 13 additions and 3 deletions

View File

@@ -681,6 +681,8 @@ void MwLLDetach(MwLL handle, MwPoint* point) {
void MwLLShow(MwLL handle, int show) {
if(show) {
XMapWindow(handle->display, handle->window);
wait_map(handle);
XSetInputFocus(handle->display, handle->window, RevertToNone, CurrentTime);
} else {
XUnmapWindow(handle->display, handle->window);