This commit is contained in:
Adam D. Ruppe 2021-09-05 19:24:02 -04:00
parent cb405b1ca5
commit a870179988
1 changed files with 2 additions and 2 deletions

View File

@ -6045,7 +6045,7 @@ version(Windows) {
return id; return id;
} }
/// Platform-specific for Windows. Unregisters a key. The id is the value returned by `registerHotKey`. /// Platform-specific for Windows. Unregisters a key. The id is the value returned by [registerHotKey].
void unregisterHotKey(SimpleWindow window, int id) { void unregisterHotKey(SimpleWindow window, int id) {
if(!UnregisterHotKey(window.impl.hwnd, id)) if(!UnregisterHotKey(window.impl.hwnd, id))
throw new Exception("UnregisterHotKey"); throw new Exception("UnregisterHotKey");
@ -8794,7 +8794,7 @@ interface CapableOfBeingDrawnUpon {
TrueColorImage takeScreenshot(); TrueColorImage takeScreenshot();
} }
/// Flushes any pending gui buffers. Necessary if you are using with_eventloop with X - flush after you create your windows but before you call `loop()`. /// Flushes any pending gui buffers. Necessary if you are using with_eventloop with X - flush after you create your windows but before you call [arsd.eventloop.loop].
void flushGui() { void flushGui() {
version(X11) { version(X11) {
auto dpy = XDisplayConnection.get(); auto dpy = XDisplayConnection.get();