1
0
mirror of https://github.com/gryf/wmaker.git synced 2025-12-19 12:28:22 +01:00

Update for 0.51.0

This commit is contained in:
dan
1999-01-25 19:06:50 +00:00
parent 3aeb1eb052
commit 416e3a82be
238 changed files with 24235 additions and 11473 deletions

View File

@@ -169,10 +169,8 @@ destroyInspector(WCoreWindow *foo, void *data, XEvent *event)
WMRemoveNotificationObserver(panel);
XUnmapWindow(dpy, panel->parent);
XReparentWindow(dpy, panel->parent, panel->frame->screen_ptr->root_win,
0, 0);
wUnmanageWindow(panel->frame, False);
panel->frame->flags.mapped = 0;
wUnmanageWindow(panel->frame, True, False);
freeInspector(panel);
}
@@ -187,8 +185,8 @@ wDestroyInspectorPanels()
while (panelList != NULL) {
panel = panelList;
panelList = panelList->nextPtr;
wUnmanageWindow(panel->frame, False, False);
WMDestroyWidget(panel->win);
wUnmanageWindow(panel->frame, False);
panel->inspected->flags.inspector_open = 0;
panel->inspected->inspector = NULL;
@@ -744,7 +742,7 @@ applySettings(WMButton *button, InspectorPanel *panel)
}
if (WFLAGP(wwin, no_bind_keys) != old_no_bind_keys) {
if (!WFLAGP(wwin, no_bind_keys)) {
if (WFLAGP(wwin, no_bind_keys)) {
XUngrabKey(dpy, AnyKey, AnyModifier, wwin->frame->core->window);
} else {
wWindowSetKeyGrabs(wwin);
@@ -923,7 +921,9 @@ chooseIconCallback(WMWidget *self, void *clientData)
WMSetButtonEnabled(panel->browseIconBtn, False);
result = wIconChooserDialog(panel->frame->screen_ptr, &file);
result = wIconChooserDialog(panel->frame->screen_ptr, &file,
panel->inspected->wm_instance,
panel->inspected->wm_class);
panel->choosingIcon = 0;
@@ -946,7 +946,7 @@ textEditedObserver(void *observerData, WMNotification *notification)
{
InspectorPanel *panel = (InspectorPanel*)observerData;
if ((int)WMGetNotificationClientData(notification) != WMReturnTextMovement)
if ((long)WMGetNotificationClientData(notification) != WMReturnTextMovement)
return;
if (observerData == panel->fileText) {