618 |
these may differ because this does not take into account possible |
these may differ because this does not take into account possible |
619 |
menubar. y_pixels_diff is with menubar height included */ |
menubar. y_pixels_diff is with menubar height included */ |
620 |
int y_pixels_outer_diff; |
int y_pixels_outer_diff; |
621 |
|
|
622 |
|
/* Keep track of focus. May be EXPLICIT if we received a FocusIn for this |
623 |
|
frame, or IMPLICIT if we received an EnterNotify. |
624 |
|
FocusOut and LeaveNotify clears EXPLICIT/IMPLICIT. */ |
625 |
|
int focus_state; |
626 |
}; |
}; |
627 |
|
|
628 |
enum |
enum |
636 |
FULLSCREEN_MOVE_WAIT = 8, |
FULLSCREEN_MOVE_WAIT = 8, |
637 |
}; |
}; |
638 |
|
|
639 |
|
enum |
640 |
|
{ |
641 |
|
/* Values for focus_state, used as bit mask. |
642 |
|
EXPLICIT means if we received a FocusIn for the frame and know it has |
643 |
|
the focus. IMPLICIT means we recevied an EnterNotify and the frame |
644 |
|
may have the focus if no window manager is running. |
645 |
|
FocusOut and LeaveNotify clears EXPLICIT/IMPLICIT. */ |
646 |
|
FOCUS_NONE = 0, |
647 |
|
FOCUS_IMPLICIT = 1, |
648 |
|
FOCUS_EXPLICIT = 2 |
649 |
|
}; |
650 |
|
|
651 |
|
|
652 |
/* Return the X window used for displaying data in frame F. */ |
/* Return the X window used for displaying data in frame F. */ |
653 |
#define FRAME_X_WINDOW(f) ((f)->output_data.x->window_desc) |
#define FRAME_X_WINDOW(f) ((f)->output_data.x->window_desc) |
654 |
|
|