|
howm
howm
|
Handle the X events generated by clients that howm is managing. More...
#include <stdbool.h>#include <stdint.h>#include <stdlib.h>#include <xcb/xcb.h>#include <xcb/xcb_ewmh.h>#include <xcb/xcb_icccm.h>#include <xcb/xproto.h>#include "client.h"#include "handler.h"#include "helper.h"#include "howm.h"#include "layout.h"#include "location.h"#include "monitor.h"#include "types.h"#include "workspace.h"#include "xcb_help.h"Functions | |
| static void | enter_event (xcb_generic_event_t *ev) |
| The event that occurs when the mouse pointer enters a window. More... | |
| static void | destroy_event (xcb_generic_event_t *ev) |
| The handler for destroy events. More... | |
| static void | button_press_event (xcb_generic_event_t *ev) |
| Process a button press. More... | |
| static void | map_event (xcb_generic_event_t *ev) |
| Handles mapping requests. More... | |
| static void | configure_event (xcb_generic_event_t *ev) |
| Deal with a window's request to change its geometry. More... | |
| static void | unmap_event (xcb_generic_event_t *ev) |
| Remove clients that wish to be unmapped. More... | |
| static void | client_message_event (xcb_generic_event_t *ev) |
| Handle messages sent by the client to alter its state. More... | |
| static void | unhandled_event (xcb_generic_event_t *ev) |
| void | handle_event (xcb_generic_event_t *ev) |
Handle the X events generated by clients that howm is managing.
|
static |
Process a button press.
| ev | The button press event. |
|
static |
Handle messages sent by the client to alter its state.
| ev | The client message as a generic event. |
|
static |
Deal with a window's request to change its geometry.
| ev | The event sent from the window. |
|
static |
The handler for destroy events.
Used when a window sends a destroy event, signalling that it wants to be unmapped. The client that the window belongs to is then removed from the client list for its repective workspace.
| ev | The destroy event. |
|
static |
The event that occurs when the mouse pointer enters a window.
| ev | The enter event. |
| void handle_event | ( | xcb_generic_event_t * | ev | ) |
|
static |
Handles mapping requests.
When an X window wishes to be displayed, it send a mapping request. This function processes that mapping request and inserts the new client (created from the map requesting window) into the list of clients for the current workspace.
| ev | A mapping request event. |
|
static |
|
static |
Remove clients that wish to be unmapped.
| ev | An event letting us know which client should be unmapped. |