]>
Dogcows Code - chaz/openbox/blob - openbox/focus.h
3ad606820ebe04f9102e75e3da9b6332f555bf2c
9 /*! The window which gets focus when nothing else will be focused */
10 extern Window focus_backup
;
12 /*! The client which is currently focused */
13 extern struct Client
*focus_client
;
15 /*! The recent focus order on each desktop */
16 extern GList
**focus_order
;
18 /*! Should new windows be focused */
19 extern gboolean focus_new
;
20 /*! Focus windows when the mouse enters them */
21 extern gboolean focus_follow
;
24 void focus_shutdown();
26 /*! Specify which client is currently focused, this doesn't actually
27 send focus anywhere, its called by the Focus event handlers */
28 void focus_set_client(struct Client
*client
);
31 Fallback_Desktop
, /* switching desktops */
32 Fallback_Unfocusing
, /* forcefully remove focus from the curernt window */
33 Fallback_NoFocus
/* nothing has focus for some reason */
36 /*! Call this when you need to focus something! */
37 void focus_fallback(FallbackType type
);
39 /*! Cycle focus amongst windows
40 Returns the Client to which focus has been cycled, or NULL if none. */
41 struct Client
*focus_cycle(gboolean forward
, gboolean linear
, gboolean done
,
This page took 0.036204 seconds and 4 git commands to generate.