~compiz-team/compiz-core/0.9.7

« back to all changes in this revision

Viewing changes to gtk/window-decorator/gtk-window-decorator.h

  • Committer: Daniel van Vugt
  • Author(s): Sam Spilsbury
  • Date: 2012-03-05 03:28:44 UTC
  • mfrom: (2978.1.28 compiz-core.lim)
  • Revision ID: vanvugt@gmail.com-20120305032844-wtsz5lezosij0ybq
Adds support for Ubuntu's "locally integrated menu bars" into
gtk-window-decorator. (LP: #931245) (LP: #682788)

Show diffs side-by-side

added added

removed removed

Lines of Context:
306
306
extern Atom toolkit_action_force_quit_dialog_atom;
307
307
extern Atom net_wm_state_atom;
308
308
extern Atom net_wm_state_modal_atom;
 
309
extern Atom ubuntu_appmenu_unique_name_atom;
309
310
 
310
311
extern Time dm_sn_timestamp;
311
312
 
328
329
#define BUTTON_UNSHADE 7
329
330
#define BUTTON_UNABOVE 8
330
331
#define BUTTON_UNSTICK 9
331
 
#define BUTTON_NUM     10
 
332
#define BUTTON_WINDOW_MENU 10
 
333
#define BUTTON_NUM     11
332
334
 
333
335
struct _pos {
334
336
    int x, y, w, h;
1013
1015
                      decor_event_type gtkwd_type);
1014
1016
 
1015
1017
void
 
1018
window_menu_button_event (WnckWindow *win,
 
1019
                          decor_event *gtkwd_event,
 
1020
                          decor_event_type gtkwd_type);
 
1021
 
 
1022
void
1016
1023
handle_title_button_event (WnckWindow   *win,
1017
1024
                           int          action,
1018
1025
                           decor_event *gtkwd_event);