uhhhghghgh

git-svn-id: http://svn2.nishi.boats/svn/milsko/trunk@702 b9cfdab3-6d41-4d17-bbe4-086880011989
This commit is contained in:
NishiOwO
2025-11-14 10:40:10 +00:00
parent 4cfdddbeaa
commit fd743825e7
2 changed files with 2 additions and 4 deletions

View File

@@ -931,10 +931,6 @@ static void MwLLMakeBorderlessImpl(MwLL handle, int toggle) {
hints.flags = MWM_HINTS_DECORATIONS;
hints.decorations = toggle ? 0 : 1;
XChangeProperty(handle->x11.display, handle->x11.window, atom, atom, 32, PropModeReplace, (unsigned char*)&hints, 5);
XUnmapWindow(handle->x11.display, handle->x11.window);
wait_map(handle, 1, 0);
}
static void MwLLFocusImpl(MwLL handle) {

View File

@@ -21,7 +21,9 @@ static void draw(MwWidget handle) {
MwLLFreeColor(c);
}
static void mwWindowMakeBorderlessImpl(MwWidget handle, int toggle) {
MwLLShow(handle->lowlevel, 0);
MwLLMakeBorderless(handle->lowlevel, toggle);
MwLLShow(handle->lowlevel, 1);
}
static void func_handler(MwWidget handle, const char* name, void* out, va_list va) {