Re: [i3] egde snapping for floating windows

  • From: Jan Krcmar <honza801@xxxxxxxxx>
  • To: i3-discuss@xxxxxxxxxxxxx
  • Date: Fri, 22 Apr 2011 10:47:50 +0200

hi,
made your wishes come true

04/22/2011 10:44:23 AM - main.c: ev_io_start ipc_io
04/22/2011 10:44:23 AM - main.c: ev_io_start xcb_watcher
i3: ev.c:2621: ev_io_start: Assertion `("libev: ev_io_start called
with negative fd", fd >= 0)' failed.
Aborted

so the problem is in theese lines of main.c

ev_io_init(xcb_watcher, xcb_got_event, xcb_get_file_descriptor(conn), EV_READ);
LOG("main.c: ev_io_start xcb_watcher\n");
ev_io_start(loop, xcb_watcher);

do you need any additional informations?
btw, i'm trying to run i3 in the Xnest, could this be the problem?

regards
fous

2011/4/22 Fernando Lemos <fernandotcl@xxxxxxxxx>:

Hi,

On Thu, Apr 21, 2011 at 10:49 AM, Jan Krcmar <honza801@xxxxxxxxx> wrote:
finally i've got some time to spend with i3
the 'tree' branch compiles, but

i3: ev.c:2621: ev_io_start: Assertion `("libev: ev_io_start called
with negative fd", fd >= 0)' failed.

I haven't really looked at the patch (thanks anyways, it's always
appreciated), but can you reproduce it with the current -tree? If so,
could you please add a printf (or DLOG or whatever) above each call to
ev_io_start (3 in main.c, 1 in ipc.c) and file a bug report?

Thanks,


Other related posts: