freenode/#stumpwm - IRC Chatlog
Search
21:51:08
PuercoPop
krwq: It may be related to how special variables work in the context of threads. If you show us the code we may be able to help you debugging it. http://sbcl.org/manual/index.html#Special-Variables. That said, run-with-timer may be what you are looking for
22:02:34
krwq
PuercoPop: i.e. https://pastebin.com/N8GXZ1Ae + bt:make-thread which calls quit-if-ff-not-running in a loop with some timeout
22:03:36
krwq
PuercoPop: I can see timer might help and I could potentially add some kind of task queue processing with some helper macro to schedule it on the right thread
22:04:15
krwq
PuercoPop: but I feel it would be easier if this was provided by stumpwm like i.e. (with-stumpwm ...) or something along this lines which would rebind the variables on the thread
22:36:23
PuercoPop
krwq: run-with-timer does what you ask iiuc. It schedules a function to be called in the main thread
22:37:50
PuercoPop
(the proper implementation of window list should also 'mappend' all the windows from all the screens
2:24:46
loke
PuercoPop: Thanks, do you happen to have any idea what could be wrong? I'm quite confused.
5:43:20
notarock
Uhm, anyone know why I can't bind something to Super-Delete ? I tried s-delete , s-<delete> and s-DEL but it doesnt seem to be working
5:46:09
notarock
It says: The value NIL is not of type (OR STUMPWM:KEY (MEMBER T)). I usualy look at what emacs output when I try a unused key sequence and use that in my define-keys, but im having issues with the delete key lol. Il check out the source if I can find anything
5:49:27
scottj
notarock: you can find out by doing C-t h k <press the key combo> and stumpwm will tell you what it's called.
5:49:40
notarock
scottj: thanks! I was about to post exactly that. Just realised I can do C-t <key> and get what im looking for