ejjfunky has quit [Remote host closed the connection]
ejjfunky has joined #crystal-lang
brw has quit [Read error: Connection reset by peer]
brw has joined #crystal-lang
<FromGitter>
<acoolstraw> has anyone worked with the x11-cr shard?
ur5us has joined #crystal-lang
[R] has quit [Ping timeout: 256 seconds]
[R] has joined #crystal-lang
ur5us has quit [Ping timeout: 240 seconds]
ur5us has joined #crystal-lang
ur5us has quit [Ping timeout: 240 seconds]
taupiqueur has joined #crystal-lang
<FromGitter>
<oprypin:matrix.org> @acoolstraw: you probably should just ask your actual question. applies generally across all communities.
ejjfunky has quit [Quit: Leaving]
<FromGitter>
<acoolstraw> well I'm trying to write a window manager and I'm trying to grab left click but #grab_button doesn't seem to work, it seems to be taking different types from what it's given but I can't figure out how to give it the correct types. dpy.default_root_window and dpy.root_window scr return a UInt64 instead of an X11::C::Window for some reason ⏎ ⏎ ```code paste, see link```
<FromGitter>
<Blacksmoke16> its prob a `InfoException` which is getting to that overload that just returns the message
<FromGitter>
<Blacksmoke16> id implement some `Log` stuff, so you can get the full context in logs, but not expose that to end users
ejjfunky has joined #crystal-lang
<SamantazFox>
We already have logs, but onyl unhandled exceptions are logged there (with how often youtube is breaking stuff, we would end up with gigabytes of logs per minute)
<SamantazFox>
As for the InfoException being handled differently, I've removed that part of the code on our test instance, and it did nothing.
<FromGitter>
<Blacksmoke16> time to add some `pp` debugs :P
<SamantazFox>
yup
hightower2 has quit [Quit: Leaving]
<FromGitter>
<acoolstraw> > You'll have to dig into the library ⏎ ⏎ I did :/
<FromGitter>
<acoolstraw> been trying for a few days can't seem to figure out how to do it