On Feb 12, 2008 2:30 AM, Sebastian Dransfeld <[EMAIL PROTECTED]> wrote: > This shouldn't be necessary. If you grab the window, the size doesn't > matter. So it seems like a grab problem.
well, it was the only way to get it working, but I'm far from understanding X, ecore_x and e in depth. from my debug, what happened is: - create input window (id = X) - e_grabinput_get() on the just created input window - for some reason, border_idler is doing e_grabinput_focus() to window Y (probably X parent?) - mouse_down_cb gets ev->win = Y, but grab_win is X, the first comparison is False, then it returns, ignoring the event, "breaking" dialog. if 1x1 windows are not the problem, maybe we should check what is triggering border idler to call e_grabinput_focus(). Current patch was based on pager dialog, which have similar behavior, but works. It have the input window set to window size. -- Gustavo Sverzut Barbieri -------------------------------------- Jabber: [EMAIL PROTECTED] MSN: [EMAIL PROTECTED] ICQ#: 17249123 Skype: gsbarbieri Mobile: +55 (81) 9927 0010 ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ enlightenment-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
