Here comes he RunT!

This commit is contained in:
2026-02-20 23:40:15 -08:00
parent 88d989f9cd
commit aaf4596217
36 changed files with 11508 additions and 416 deletions

View File

@ -145,6 +145,16 @@ void kinc_x11_window_hide(int window_index) {
xlib.XUnmapWindow(x11_ctx.display, window->window);
}
void kinc_x11_window_set_foreground(int window_index) {
struct kinc_x11_window *window = &x11_ctx.windows[window_index];
if (window->window == None) {
return;
}
xlib.XRaiseWindow(x11_ctx.display, window->window);
xlib.XSetInputFocus(x11_ctx.display, window->window, RevertToParent, CurrentTime);
xlib.XFlush(x11_ctx.display);
}
kinc_window_mode_t kinc_x11_window_get_mode(int window_index) {
return x11_ctx.windows[window_index].mode;
}