diff options
| author | Fabien Costantini <fabien@onepost.net> | 2009-01-21 16:09:39 +0000 |
|---|---|---|
| committer | Fabien Costantini <fabien@onepost.net> | 2009-01-21 16:09:39 +0000 |
| commit | 0e6409c3a0a6a002a9cc2d47cc18d550126f97dd (patch) | |
| tree | f3ad6e896652bb51506a77095ad08cc645080c35 /cairo | |
| parent | ecf26b1d12d81ffbacff2787da89687380af4bed (diff) | |
Fixed fl_color() setters would crash under X11 when called with no valid fl_gc.
The fix prefer not to set a default gc to avoid side unpredictable side effects
(i.e: the color would not be set on the expected window)
Maybe this could be later further improved by using
fl_GetGC() with the current or the first fltk window
so that a color would always be set.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6643 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
Diffstat (limited to 'cairo')
0 files changed, 0 insertions, 0 deletions
