mirror of
https://github.com/netsurf-browser/netsurf
synced 2024-12-28 06:49:41 +03:00
Show mouse again after the color popup is ready.
This commit is contained in:
parent
340e958ebc
commit
221cd56826
@ -297,9 +297,6 @@ static colour color_popup(int x, int y, colour current)
|
||||
z++;
|
||||
}
|
||||
|
||||
/* hide the mouse */
|
||||
v_hide_c (app.graf.handle);
|
||||
|
||||
plot_set_dimensions(x, y,
|
||||
(GRID_COLS*boxwidth)+4, (GRID_ROWS*boxheight)+4);
|
||||
plot_lock();
|
||||
@ -338,10 +335,10 @@ static colour color_popup(int x, int y, colour current)
|
||||
xpos = 0;
|
||||
ypos += boxheight;
|
||||
}
|
||||
}
|
||||
|
||||
/* restore the mouse */
|
||||
v_show_c ( app.graf.handle, 1);
|
||||
}
|
||||
|
||||
// enable mouse cursor (screen keeps beeing locked):
|
||||
graf_mouse(M_ON, NULL);
|
||||
|
||||
/* fetch mouse event: */
|
||||
mt_EvntDisable(&app, dlgwin, WM_XBUTTON);
|
||||
|
Loading…
Reference in New Issue
Block a user