Remove unnesecary files/comments
This commit is contained in:
13
X-kutu.c
13
X-kutu.c
@@ -361,8 +361,6 @@ Event wait_for_event(void) {
|
||||
ret.y = e->y;
|
||||
ret.width = e->width;
|
||||
ret.height = e->height;
|
||||
// ret.stack_mode =
|
||||
// e->value_mask & XCB_CONFIG_WINDOW_STACK_MODE ? e->stack_mode : 0;
|
||||
} break;
|
||||
|
||||
case XCB_RESIZE_REQUEST: {
|
||||
@@ -372,17 +370,6 @@ Event wait_for_event(void) {
|
||||
ret.width = e->width;
|
||||
ret.height = e->height;
|
||||
} break;
|
||||
|
||||
// case XCB_CONFIGURE_NOTIFY: {
|
||||
// xcb_configure_notify_event_t *e;
|
||||
// e = (xcb_configure_notify_event_t *)ev;
|
||||
// ret.type = 12;
|
||||
// ret.window = e->window;
|
||||
// ret.width = e->width;
|
||||
// ret.height = e->height;
|
||||
// ret.x = e->x;
|
||||
// ret.y = e->y;
|
||||
// } break;
|
||||
}
|
||||
|
||||
xcb_flush(conn);
|
||||
|
||||
40
list.tmp
40
list.tmp
@@ -1,40 +0,0 @@
|
||||
define XCB_KEY_PRESS 2
|
||||
define XCB_KEY_RELEASE 3
|
||||
|
||||
define XCB_BUTTON_PRESS 4
|
||||
define XCB_BUTTON_RELEASE 5
|
||||
define XCB_MOTION_NOTIFY 6
|
||||
|
||||
define XCB_ENTER_NOTIFY 7
|
||||
|
||||
# define XCB_LEAVE_NOTIFY 8 - maybe
|
||||
|
||||
define XCB_CREATE_NOTIFY 16
|
||||
|
||||
// treat these similarly
|
||||
define XCB_DESTROY_NOTIFY 17 // to remove from struct
|
||||
define XCB_UNMAP_NOTIFY 18 // i guess this is minimize but idk if it is icccm IconicState?
|
||||
|
||||
define XCB_MAP_NOTIFY 19 // whatever im doin (dont map this is after mapping)
|
||||
|
||||
define XCB_MAP_REQUEST 20 // Actual request to map // so map the window if possible
|
||||
|
||||
#define XCB_CONFIGURE_REQUEST 23 // for floats maybe
|
||||
#define XCB_GRAVITY_NOTIFY 24 // similar to XCB_CONFIGURE_NOTIFY but for pos
|
||||
#define XCB_RESIZE_REQUEST 25 // similar to XCB_CONFIGURE_REQUEST but for resize
|
||||
|
||||
# define XCB_CONFIGURE_NOTIFY 22 // prolly remove it
|
||||
#define XCB_PROPERTY_NOTIFY 28 // only if netwm requires so
|
||||
#define XCB_CLIENT_MESSAGE 33 // only if netwm requires
|
||||
|
||||
|
||||
-- ICCCM
|
||||
// TODO: add a function to set wm_state.
|
||||
// actually no as there is no iconfied state .. all windows are maximized and ignore any client request to be iconfied
|
||||
// therefore break ICCCM
|
||||
|
||||
// use xprop to get
|
||||
// WM_NAME .. then ignore it cuz no titlebars
|
||||
|
||||
// WM_NORMAL_HINTS & WM_HINTS
|
||||
// try to obey it for floats
|
||||
Reference in New Issue
Block a user