diff --git a/unix/window.c b/unix/window.c index a1d09005..b19024bf 100644 --- a/unix/window.c +++ b/unix/window.c @@ -279,6 +279,11 @@ void uiWindowSetMargined(uiWindow *w, int margined) setMargined(w->childHolderContainer, w->margined); } +void uiWindowSetTopmost(uiWindow *w, int topmost) +{ + gtk_window_set_keep_above(w->window, topmost == 1); +} + uiWindow *uiNewWindow(const char *title, int width, int height, int hasMenubar) { uiWindow *w;