mirror of
https://github.com/gnif/LookingGlass.git
synced 2024-12-23 14:03:40 +00:00
[client] egl: do a full redraw if nightvision is toggled
This commit is contained in:
parent
3e32e01c30
commit
12d256c7c8
@ -159,6 +159,8 @@ void egl_desktop_toggle_nv(int key, void * opaque)
|
|||||||
if (desktop->nvGain == 0) app_alert(LG_ALERT_INFO, "NV Disabled");
|
if (desktop->nvGain == 0) app_alert(LG_ALERT_INFO, "NV Disabled");
|
||||||
else if (desktop->nvGain == 1) app_alert(LG_ALERT_INFO, "NV Enabled");
|
else if (desktop->nvGain == 1) app_alert(LG_ALERT_INFO, "NV Enabled");
|
||||||
else app_alert(LG_ALERT_INFO, "NV Gain + %d", desktop->nvGain - 1);
|
else app_alert(LG_ALERT_INFO, "NV Gain + %d", desktop->nvGain - 1);
|
||||||
|
|
||||||
|
app_invalidateWindow(true);
|
||||||
}
|
}
|
||||||
|
|
||||||
bool egl_desktop_scale_validate(struct Option * opt, const char ** error)
|
bool egl_desktop_scale_validate(struct Option * opt, const char ** error)
|
||||||
|
Loading…
Reference in New Issue
Block a user