1
0
mirror of https://github.com/gryf/wmaker.git synced 2025-12-25 07:32:36 +01:00

- Removed legacy OFFIX_DND support code

- Fixed the signal handler for crashes (ie, removed it) and made wmaker
  restarting be made automatically by a monitoring process.
- Made NetWM support be enabled by default
- Removed old code to store/restore workspace state (now relies on netwm)
This commit is contained in:
kojima
2004-10-13 05:09:08 +00:00
parent 6830b05716
commit 879b00a57b
22 changed files with 273 additions and 339 deletions

View File

@@ -119,7 +119,7 @@ updatePasteCommand(WAppIcon *icon, char *command)
#ifdef OFFIX_DND
#ifdef XDND
static void
updateDNDCommand(WAppIcon *icon, char *command)
{
@@ -131,7 +131,7 @@ updateDNDCommand(WAppIcon *icon, char *command)
}
icon->dnd_command = command;
}
#endif /* OFFIX_DND */
#endif /* XDND */
static void
@@ -258,7 +258,7 @@ panelBtnCallback(WMWidget *self, void *data)
text = NULL;
}
updateCommand(panel->editedIcon, text);
#ifdef OFFIX_DND
#ifdef XDND
/* cannot free text from this, because it will be not be duplicated
* in updateDNDCommand */
text = WMGetTextFieldText(panel->dndCommandField);
@@ -385,7 +385,7 @@ ShowDockAppSettingsPanel(WAppIcon *aicon)
panel->dndCommandLabel = WMCreateLabel(panel->dndCommandFrame);
WMResizeWidget(panel->dndCommandLabel, 256, 18);
WMMoveWidget(panel->dndCommandLabel, 10, 45);
#ifdef OFFIX_DND
#ifdef XDND
WMSetTextFieldText(panel->dndCommandField, aicon->dnd_command);
WMSetLabelText(panel->dndCommandLabel,
_("%d will be replaced with the file name"));