diff options
| author | Simon Tatham <anakin@pobox.com> | 2015-01-04 18:03:36 +0000 |
|---|---|---|
| committer | Simon Tatham <anakin@pobox.com> | 2015-01-04 18:11:28 +0000 |
| commit | 8f8333a3516bbbd266d66e72f646741fc258ff02 (patch) | |
| tree | 7b9c90c5d978b9d8162c2d7235596b4c3abb2aee /pattern.c | |
| parent | 79874f18e41cbbe796c0252dc96a85e150af1a15 (diff) | |
| download | puzzles-8f8333a3516bbbd266d66e72f646741fc258ff02.zip puzzles-8f8333a3516bbbd266d66e72f646741fc258ff02.tar.gz puzzles-8f8333a3516bbbd266d66e72f646741fc258ff02.tar.bz2 puzzles-8f8333a3516bbbd266d66e72f646741fc258ff02.tar.xz | |
Fix puzzle window resize behaviour on Unity.
Unity hijacks the menu bar and prevents it from appearing in the main
puzzle window. And we wait for the menu bar to appear before reducing
the puzzle drawing area's size request. These two behaviours go
together badly.
Fixed by detecting the extra GTK property that the Unity patches
invented, and using that to know whether to expect the menu bar to
show up at all.
Diffstat (limited to 'pattern.c')
0 files changed, 0 insertions, 0 deletions