simon-git: puzzles (master): Simon Tatham

Commits to Tartarus CVS repository. tartarus-commits at lists.tartarus.org
Sun Jan 4 18:36:56 GMT 2015


TL;DR:
  8f8333a Fix puzzle window resize behaviour on Unity.

Repository:     git://git.tartarus.org/simon/puzzles.git
On the web:     http://tartarus.org/~simon-git/gitweb/?p=puzzles.git
Branch updated: master
Committer:      Simon Tatham <anakin at pobox.com>
Date:           2015-01-04 18:36:56

commit 8f8333a3516bbbd266d66e72f646741fc258ff02
web diff http://tartarus.org/~simon-git/gitweb/?p=puzzles.git;a=commitdiff;h=8f8333a3516bbbd266d66e72f646741fc258ff02;hp=79874f18e41cbbe796c0252dc96a85e150af1a15
Author: Simon Tatham <anakin at pobox.com>
Date:   Sun Jan 4 18:03:36 2015 +0000

    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.

 gtk.c |   30 +++++++++++++++++++++++++++++-
 1 file changed, 29 insertions(+), 1 deletion(-)



More information about the tartarus-commits mailing list