mirror of
https://github.com/dylanaraps/sowm.git
synced 2026-10-29 12:50:57 +00:00
minor fixes
This commit is contained in:
2 files changed
+12
-12
No files matched your search
+9
-9
@@ -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
@@ -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);
|
||||
|
||||
Reference in new issue
Block a user