You are not logged in.

#1 2023-02-23 12:24:01

rynite
Member
Registered: 2022-09-02
Posts: 13

windows not resizing/moving (xcb)

hello, so that's the second issue I've been facing with writing my own floating window manager, so basically, I just subscribed to these motion events at initialization, what I'm trying to implement is the moving and resizing functionalities and I hard coded the bindings to XCB_MOD_MASK_1 and buttons 3 and 1, respectively. The only thing that I'm sure it works are the XCB_BUTTON_PRESS and XCB_MOTION_NOTIFY events, I tried logging something, and it does log for both, but when I try resizing/moving, it fails for some reason, I'm not sure how to debug that.

Thanks.

source code -> https://github.com/bwkam/rwm/blob/main/rwm.c

Last edited by rynite (2023-02-23 12:28:17)

Offline

Board footer

Powered by FluxBB