re-add focus follows mouse handling
This commit is contained in:
@ -21,7 +21,6 @@
|
||||
int handle_key_press(void *ignored, xcb_connection_t *conn,
|
||||
xcb_key_press_event_t *event);
|
||||
|
||||
#if 0
|
||||
/**
|
||||
* When the user moves the mouse pointer onto a window, this callback gets
|
||||
* called.
|
||||
@ -30,6 +29,7 @@ int handle_key_press(void *ignored, xcb_connection_t *conn,
|
||||
int handle_enter_notify(void *ignored, xcb_connection_t *conn,
|
||||
xcb_enter_notify_event_t *event);
|
||||
|
||||
#if 0
|
||||
/**
|
||||
* When the user moves the mouse but does not change the active window
|
||||
* (e.g. when having no windows opened but moving mouse on the root screen
|
||||
|
@ -36,6 +36,7 @@ while (0)
|
||||
|
||||
int min(int a, int b);
|
||||
int max(int a, int b);
|
||||
bool rect_contains(Rect rect, uint32_t x, uint32_t y);
|
||||
|
||||
/**
|
||||
* Updates *destination with new_value and returns true if it was changed or false
|
||||
|
Reference in New Issue
Block a user