ewmh: correctly set _NET_ACTIVE_WINDOW
This commit is contained in:
@ -20,4 +20,13 @@
|
||||
*/
|
||||
void ewmh_update_current_desktop();
|
||||
|
||||
/**
|
||||
* Updates _NET_ACTIVE_WINDOW with the currently focused window.
|
||||
*
|
||||
* EWMH: The window ID of the currently active window or None if no window has
|
||||
* the focus.
|
||||
*
|
||||
*/
|
||||
void ewmh_update_active_window(xcb_window_t window);
|
||||
|
||||
#endif
|
||||
|
@ -21,7 +21,7 @@
|
||||
#ifndef _I3_H
|
||||
#define _I3_H
|
||||
|
||||
#define NUM_ATOMS 19
|
||||
#define NUM_ATOMS 20
|
||||
|
||||
extern xcb_connection_t *global_conn;
|
||||
extern xcb_key_symbols_t *keysyms;
|
||||
|
@ -62,7 +62,8 @@ enum { _NET_SUPPORTED = 0,
|
||||
UTF8_STRING,
|
||||
WM_STATE,
|
||||
WM_CLIENT_LEADER,
|
||||
_NET_CURRENT_DESKTOP
|
||||
_NET_CURRENT_DESKTOP,
|
||||
_NET_ACTIVE_WINDOW
|
||||
};
|
||||
|
||||
extern unsigned int xcb_numlock_mask;
|
||||
|
Reference in New Issue
Block a user