1
0
mirror of https://github.com/gryf/wmaker.git synced 2026-01-06 13:54:12 +01:00

- fixed problem with WINGs based apps exiting with a "X_RotateProperties"

related error when text was selected in a textfiled (this included
  WPrefs.app and Window Maker itself).
- replaced some malloc's with wmalloc's
This commit is contained in:
dan
2001-05-19 23:07:10 +00:00
parent 60611fbd47
commit 128403b487
12 changed files with 130 additions and 65 deletions

View File

@@ -319,7 +319,7 @@ updateDockNumbers(WScreen *scr)
numbers_gc = XCreateGC(dpy, dicon->icon->core->window,
my_v_mask, &my_gc_values);
ws_numbers = malloc(20);
ws_numbers = wmalloc(20);
sprintf(ws_numbers, "%i [ %i ]", scr->current_workspace+1,
((scr->current_workspace/10)+1));
length = strlen(ws_numbers);

View File

@@ -1249,7 +1249,7 @@ wClipIconPaint(WAppIcon *aicon)
wIconPaint(aicon->icon);
length = strlen(workspace->name);
ws_name = malloc(length + 1);
ws_name = wmalloc(length + 1);
sprintf(ws_name, "%s", workspace->name);
sprintf(ws_number, "%i", scr->current_workspace + 1);
nlength = strlen(ws_number);