~laney/bamf/prefix-regex-python

« back to all changes in this revision

Viewing changes to src/bamf-xutils.h

  • Committer: Tarmac
  • Author(s): Marco Trevisan (Treviño)
  • Date: 2014-02-14 03:12:52 UTC
  • mfrom: (590.1.2 window-action-menu)
  • Revision ID: tarmac-20140214031252-vjnxndq3rv3vbszg
BamfLegacyScreen: When in Unity monitor for compiz ClientMessage's to show action menu

If we get a _COMPIZ_TOOLKIT_ACTION client message with the internal value
_COMPIZ_TOOLKIT_ACTION_WINDOW_MENU, then we are requested by compiz
to show the window action menu, and thus let's ask the proper BamfLegacyWindow
to do that, thanks to libwnck. Fixes: https://bugs.launchpad.net/bugs/1280042.

Approved by Brandon Schaefer, PS Jenkins bot.

Show diffs side-by-side

added added

removed removed

Lines of Context:
22
22
#define __BAMF_XUTILS_H__
23
23
 
24
24
#include <glib.h>
25
 
#include <X11/Xatom.h>
26
25
#include <X11/Xlib.h>
27
26
#include <gdk/gdkx.h>
28
27