~compiz-team/compiz/0.9.9

Viewing all changes in revision 3458.

  • Committer: Tarmac
  • Author(s): stevenhooke11 at gmail
  • Date: 2012-11-09 06:33:02 UTC
  • mfrom: (3457.1.1 compiz)
  • Revision ID: tarmac-20121109063302-uwcxswyzsjvjcdff
For an application window without decorations, pressing Alt+Space failed to activate the action menu on the top left corner of the window and also causes the gtk-window-decorator to crash.
(LP: #1075451)

The crash is caused by a miscalculation in actionmenu.c: position_action_menu(...)
function (*theme_get_button_position) is not suitable for windows without decorations.
so first we need to check if the window is decorated or not.. Fixes: https://bugs.launchpad.net/bugs/1075451. Approved by Daniel van Vugt, Sam Spilsbury.

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: