Updates
This commit is contained in:
10
X-kutu.c
10
X-kutu.c
@@ -14,8 +14,7 @@
|
||||
#include <stdlib.h>
|
||||
#include <unistd.h>
|
||||
|
||||
// XCB headers
|
||||
#include <xcb/randr.h>
|
||||
// XCB header
|
||||
#include <xcb/xcb.h>
|
||||
|
||||
// Global variables
|
||||
@@ -97,13 +96,6 @@ int deploy(void) {
|
||||
// Free a geometry structure
|
||||
void free_geometry(Geometry *g) { free(g); }
|
||||
|
||||
// Get monitor geometries using XRandR, returns an array of Geometry structures
|
||||
// The caller is responsible for freeing the returned array
|
||||
Geometry *xrandr_get_monitors(void) {
|
||||
// TODO: Loop through monitors and return their geometries
|
||||
// return all;
|
||||
}
|
||||
|
||||
// Set input focus to a window
|
||||
void focus(xcb_window_t win) {
|
||||
xcb_set_input_focus(conn, XCB_INPUT_FOCUS_POINTER_ROOT, win,
|
||||
|
||||
Reference in New Issue
Block a user