[dev] st stutters and freezes, with 100% cpu usage, during window resize via mouse drag

2014-01-14 Thread Parke
Hi, I use the Openbox window manager with xterm. I just tried replacing xterm with st. Compared to xterm, st will stutter/freeze when I resize a window by dragging a window edge with the mouse. I have Openbox set to refresh the window contents during the resize. Xterm pretty much stays in sync

Re: swc library to implement dwm under Wayland (was Re: [dev] gtk3 support for surf?)

2014-01-14 Thread Michael Forney
On Tue, 14 Jan 2014 20:41:40 +0100, Hadrian Węgrzynowski wrote: > EGL as API is quite lean. There could be small implementation not > depending on Mesa 3D. > > Is there another problem with EGL? EGL is fine, but it implies an implementation of OpenGL, which would be quite complicated to implem

Re: swc library to implement dwm under Wayland (was Re: [dev] gtk3 support for surf?)

2014-01-14 Thread FRIGN
On Tue, 14 Jan 2014 21:11:20 + Michael Forney wrote: Hey Michael, thanks for your response! I'm glad to get some remarks from a real Wayland-expert (I'm far from that) and be able to have more insight into the topic. > Sure, many compositors will use EGL, but that doesn't make it a > requi

Re: swc library to implement dwm under Wayland (was Re: [dev] gtk3 support for surf?)

2014-01-14 Thread Michael Forney
Hi FRIGN, I tried to respond to most of your points as best I could. On Tue, 14 Jan 2014 11:42:14 +0100, FRIGN wrote: > > I believe most of the implementation details are up to the compositor, > > Wayland is just a protocol. > > At least in archlinux, the wayland package has only 2 dependencies

Re: swc library to implement dwm under Wayland (was Re: [dev] gtk3 support for surf?)

2014-01-14 Thread FRIGN
On Tue, 14 Jan 2014 09:43:03 -0500 Bobby Powers wrote: > Can you explain your thinking here on security? Is it just that less > compiled code == more secure? No, it's just my problem with hotplugging input-devices. As my setup doesn't change (I only have a mouse and keyboard), the respective x-

Re: swc library to implement dwm under Wayland (was Re: [dev] gtk3 support for surf?)

2014-01-14 Thread Hadrian Węgrzynowski
Dnia 2014-01-14, o godz. 11:42:14 FRIGN napisał(a): > Yes, that's true. However, you need to stress here that Wayland is > just the protocol implementation for communication between clients and > server and glue-code between clients and EGL-calls. > It doesn't pull in the big libs itself, but _im

Re: swc library to implement dwm under Wayland (was Re: [dev] gtk3 support for surf?)

2014-01-14 Thread Bobby Powers
Hello, FRIGN wrote: > -1) Compositor's demands: > Not everyone has a full drm-kms-setup. Hell, I don't even use evdev > on my devices (It's more secure when you strip out the Event Interface > from the Kernel). Can you explain your thinking here on security? Is it just that less compiled code ==

Re: swc library to implement dwm under Wayland (was Re: [dev] gtk3 support for surf?)

2014-01-14 Thread Truls Becken
On 2014-01-14, at 11:42, FRIGN wrote: > My advice would be to take a look at tinyx[2] and tinyxlib[3], which is > relatively small and fitting the purpose well (dwm runs on it). > > Let's see what the future will bring us, but it now is all about making > a decision. I'd like to mention that you

Re: swc library to implement dwm under Wayland (was Re: [dev] gtk3 support for surf?)

2014-01-14 Thread FRIGN
On Tue, 14 Jan 2014 02:40:36 +0100 "Fernando C.V." wrote: Hi Fernando, > I believe most of the implementation details are up to the compositor, > Wayland is just a protocol. > At least in archlinux, the wayland package has only 2 dependencies: > libffi and expat Yes, that's true. However, you

Re: [dev] [PATCH][RFC] Add a basic version of tr

2014-01-14 Thread Silvan Jegen
On Tue, Jan 14, 2014 at 12:22 AM, wrote: > On Mon, Jan 13, 2014 at 11:19:49AM -0800, Silvan Jegen wrote: >> I have rewritten "tr" to use mmap and the wchar.h functions. It seems >> to be quite slow but as far as I can tell it works reasonably well (at >> least when using a UTF-8 locale). Comments