should be ok

git-svn-id: http://svn2.nishi.boats/svn/milsko/trunk@168 b9cfdab3-6d41-4d17-bbe4-086880011989
This commit is contained in:
NishiOwO
2025-10-04 19:30:58 +00:00
parent d2ca65e5ed
commit 2b0d063dd8
8 changed files with 36 additions and 30 deletions

View File

@@ -47,7 +47,6 @@ static LRESULT CALLBACK wndproc(HWND hWnd, UINT msg, WPARAM wp, LPARAM lp) {
SetCapture(hWnd);
MwLLDispatch(u->ll, down, &p);
InvalidateRect(hWnd, NULL, FALSE);
} else if(msg == WM_LBUTTONUP) {
MwPoint p;
p.x = LOWORD(lp);
@@ -55,7 +54,6 @@ static LRESULT CALLBACK wndproc(HWND hWnd, UINT msg, WPARAM wp, LPARAM lp) {
SetCapture(NULL);
MwLLDispatch(u->ll, up, &p);
InvalidateRect(hWnd, NULL, FALSE);
} else if(msg == WM_MOUSEMOVE) {
MwPoint p;
p.x = LOWORD(lp);

View File

@@ -150,7 +150,6 @@ void MwLLNextEvent(MwLL handle) {
p.y = ev.xbutton.y;
MwLLDispatch(handle, down, &p);
render = 1;
}
} else if(ev.type == ButtonRelease) {
if(ev.xbutton.button == Button1) {
@@ -159,7 +158,6 @@ void MwLLNextEvent(MwLL handle) {
p.y = ev.xbutton.y;
MwLLDispatch(handle, up, &p);
render = 1;
}
} else if(ev.type == ConfigureNotify) {
MwLLDispatch(handle, resize, NULL);