mirror of
https://gitea.nishi.boats/pyrite-dev/milsko
synced 2026-01-08 02:13:29 +00:00
uhhhghghgh
git-svn-id: http://svn2.nishi.boats/svn/milsko/trunk@702 b9cfdab3-6d41-4d17-bbe4-086880011989
This commit is contained in:
@@ -931,10 +931,6 @@ static void MwLLMakeBorderlessImpl(MwLL handle, int toggle) {
|
|||||||
hints.flags = MWM_HINTS_DECORATIONS;
|
hints.flags = MWM_HINTS_DECORATIONS;
|
||||||
hints.decorations = toggle ? 0 : 1;
|
hints.decorations = toggle ? 0 : 1;
|
||||||
XChangeProperty(handle->x11.display, handle->x11.window, atom, atom, 32, PropModeReplace, (unsigned char*)&hints, 5);
|
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) {
|
static void MwLLFocusImpl(MwLL handle) {
|
||||||
|
|||||||
@@ -21,7 +21,9 @@ static void draw(MwWidget handle) {
|
|||||||
MwLLFreeColor(c);
|
MwLLFreeColor(c);
|
||||||
}
|
}
|
||||||
static void mwWindowMakeBorderlessImpl(MwWidget handle, int toggle) {
|
static void mwWindowMakeBorderlessImpl(MwWidget handle, int toggle) {
|
||||||
|
MwLLShow(handle->lowlevel, 0);
|
||||||
MwLLMakeBorderless(handle->lowlevel, toggle);
|
MwLLMakeBorderless(handle->lowlevel, toggle);
|
||||||
|
MwLLShow(handle->lowlevel, 1);
|
||||||
}
|
}
|
||||||
|
|
||||||
static void func_handler(MwWidget handle, const char* name, void* out, va_list va) {
|
static void func_handler(MwWidget handle, const char* name, void* out, va_list va) {
|
||||||
|
|||||||
Reference in New Issue
Block a user