DerjenigeUberMensch / vox-wm

XServer Event Handler (XEH)
Mozilla Public License 2.0
1 stars 0 forks source link

Use XInput over X11's grab/ungrab actions #13

Open DerjenigeUberMensch opened 5 months ago

DerjenigeUberMensch commented 5 months ago

Due to the current usage of X's windowing grab/ungrab features it is impossible for clients to grab certain types of events, this could be used for data sanitation (keyloggers...).

But Xinput would still be preferable, as it seems to have better developer tooling

DerjenigeUberMensch commented 5 months ago

This is being considered though we are currently focusing on making the WM more usable (moving windows/resizing, title bar...)

However it shouldnt be too hard to implement later on due to how the event system is setup.

DerjenigeUberMensch commented 2 months ago

Currently, we are testing XInput2, and it seems that while it shouldn't be hard to implement, we are planning a more robust legacy supported system that would allow for backup if XInput2 isn't supported on the client system, (X11 handling)

DerjenigeUberMensch commented 2 months ago

XInput seems to be more, complicated to implement than expected (on xcb), perhaps a Xlib work around can be possible?

DerjenigeUberMensch commented 2 months ago

XInput seems actually not that complicated (atleast for us the Server Handler), But there still appears no reason to switch (as of now).