applied JUCE patch
86c4797f
2 file(s) · +3 −0
| 22 | 22 | /* func name bx by bw wx wy ww wh mx my mw mh tx ty tw th mox moy mow moh */ |
|
| 23 | 23 | #define MFACT 0.55 /* master width factor [0.1 .. 0.9] */ |
|
| 24 | 24 | DEFGEOM(single, 0, 0, sw, 0, bh, sw, sh-bh, wx, wy, mfact*ww, wh, mx+mw, wy, ww-mw, wh, wx, wy, ww, wh) |
|
| 25 | + | DEFGEOM(dual, 0, 0,1280, 0, bh, ww, wh-bh, wx, wy, 1280,800-bh, 1280, 0, ww-mw, sh, mx, my, mw, mh) |
|
| 25 | 26 | ||
| 26 | 27 | Geom geoms[] = { |
|
| 27 | 28 | /* symbol function */ |
|
| 28 | 29 | { "[]", single }, /* first entry is default */ |
|
| 30 | + | { "[][]", dual }, |
|
| 29 | 31 | }; |
|
| 30 | 32 | ||
| 31 | 33 | /* layout(s) */ |
| 1851 | 1851 | || (ee->request_code == X_PolyFillRectangle && ee->error_code == BadDrawable) |
|
| 1852 | 1852 | || (ee->request_code == X_PolySegment && ee->error_code == BadDrawable) |
|
| 1853 | 1853 | || (ee->request_code == X_ConfigureWindow && ee->error_code == BadMatch) |
|
| 1854 | + | || (ee->request_code == X_GrabButton && ee->error_code == BadAccess) |
|
| 1854 | 1855 | || (ee->request_code == X_GrabKey && ee->error_code == BadAccess) |
|
| 1855 | 1856 | || (ee->request_code == X_CopyArea && ee->error_code == BadDrawable)) |
|
| 1856 | 1857 | return 0; |