minor fixes

This commit is contained in:
Dylan Araps committed 2020-07-26 15:25:21 +03:00
1 parent 710659f788
commit 37648b9576
2 files changed
+12 -12

No files matched your search

+9 -9
View File
@@ -1,37 +1,37 @@
#include "action.h"
void action_win_add(void) {
void action_win_add() {
}
void action_win_del(void) {
void action_win_del() {
}
void action_win_center(void) {
void action_win_center() {
}
void action_win_fullscreen(void) {
void action_win_fullscreen() {
}
void action_win_focus(void) {
void action_win_focus() {
}
void action_win_kill(void) {
void action_win_kill() {
}
void action_win_next(void) {
void action_win_next() {
}
void action_win_to_desktop(void) {
void action_win_to_desktop() {
}
void action_to_desktop(void) {
void action_to_desktop() {
}
+3 -3
View File
@@ -21,17 +21,17 @@ void (*events[XCB_NO_OPERATION])(xcb_generic_event_t *) = {
void event_button_press(xcb_generic_event_t *ev) {
xcb_button_press_event_t *e = (xcb_button_press_event_t *)ev;
xcb_get_geometry_reply_t *geom;
uint32_t values[3];
uint32_t value;
if (!e->child) {
return;
}
motion_win = e->child;
values[0] = XCB_STACK_MODE_ABOVE;
value = XCB_STACK_MODE_ABOVE;
xcb_configure_window(dpy, e->child,
XCB_CONFIG_WINDOW_STACK_MODE, values);
XCB_CONFIG_WINDOW_STACK_MODE, &value);
geom = xcb_get_geometry_reply(dpy,
xcb_get_geometry(dpy, e->child), NULL);