aboutsummaryrefslogtreecommitdiff
path: root/src/event.c
diff options
context:
space:
mode:
authorallusive-dev <[email protected]>2023-10-31 20:00:04 +1100
committerallusive-dev <[email protected]>2023-10-31 20:00:04 +1100
commit6af7735fbec073d4a7cf6193edad9e64f34f4984 (patch)
tree9c6218dd66f4d04e80c15948af60a00361b2a858 /src/event.c
parentChange for #13 (diff)
downloadcompfy-1.2.0.tar.xz
compfy-1.2.0.zip
Resolved wrong animations playing. At the cost of deprecating not working features.1.2.0
Diffstat (limited to 'src/event.c')
-rw-r--r--src/event.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/event.c b/src/event.c
index beec195..e42001e 100644
--- a/src/event.c
+++ b/src/event.c
@@ -454,10 +454,10 @@ static inline void ev_property_notify(session_t *ps, xcb_property_notify_event_t
auto prop = x_get_prop(ps->c, ps->root, ps->atoms->a_NET_CURRENT_DESKTOP,
1L, XCB_ATOM_CARDINAL, 32);
- if (prop.nitems) {
- ps->root_desktop_switch_direction = ((int)*prop.c32) - ps->root_desktop_num;
- ps->root_desktop_num = (int)*prop.c32;
- }
+ // if (prop.nitems) {
+ // ps->root_desktop_switch_direction = ((int)*prop.c32) - ps->root_desktop_num;
+ // ps->root_desktop_num = (int)*prop.c32;
+ // }
}
if (ps->o.use_ewmh_active_win && ps->atoms->a_NET_ACTIVE_WINDOW == ev->atom) {