1
0
mirror of https://github.com/gryf/wmaker.git synced 2026-01-04 04:44:16 +01:00

Collect low-hanging fruits

This commit is contained in:
Tamas TEVESZ
2010-03-18 01:25:03 +01:00
committed by Carlos R. Mafra
parent 5f02b1b5f4
commit d51bbe6626
2 changed files with 41 additions and 119 deletions

View File

@@ -306,21 +306,6 @@ void closeWindow(WMWidget * w, void *d)
}
}
#if 0
static void clickHandler(XEvent * event, void *d)
{
BufferData *data = (BufferData *) d;
data->win = WMCreateWindow(scr, "setup");
WMSetWindowTitle(data->win, "Magnify Options");
data->speed = WMCreateSlider(data->win);
data->magnify = WMCreateSlider(data->win);
}
#endif
static void keyHandler(XEvent * event, void *d)
{
BufferData *data = (BufferData *) d;
@@ -417,9 +402,7 @@ int main(int argc, char **argv)
char *display = "";
char *vdisplay = NULL;
int magfactor = 2;
#if 0
WMButton *radio, *tradio;
#endif
WMInitializeApplication("Magnify", &argc, argv);
for (i = 1; i < argc; i++) {