all repos — fluxbox @ cf2b24b645008ee2efdc14391baad793f8a49f5f

custom fork of the fluxbox windowmanager

fix the hang some more, hopefully final
rathnor rathnor
commit

cf2b24b645008ee2efdc14391baad793f8a49f5f

parent

0b8592b203c5da0fee069801e8413a5cc7c2eb64

2 files changed, 8 insertions(+), 1 deletions(-)

jump to
M ChangeLogChangeLog

@@ -1,6 +1,9 @@

(Format: Year/Month/Day) Changes for 0.9.9: *04/04/14: + * Half revert a bit of the below, since it broke click-to-focus (Simon) + -> adds back the grab, but as an async one + Window.cc * Hopefully fix the "stange" hang on restart (Simon) - remove big sync-ed grab on all Button1 events - Also tidy and fix tab moving
M src/Window.ccsrc/Window.cc

@@ -22,7 +22,7 @@ // LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING

// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER // DEALINGS IN THE SOFTWARE. -// $Id: Window.cc,v 1.278 2004/04/14 15:17:20 rathnor Exp $ +// $Id: Window.cc,v 1.279 2004/04/14 15:40:57 rathnor Exp $ #include "Window.hh"

@@ -974,6 +974,10 @@

void FluxboxWindow::grabButtons() { + // needed for click to focus + XGrabButton(display, Button1, AnyModifier, + frame().window().window(), True, ButtonPressMask, + GrabModeAsync, GrabModeAsync, None, None); XUngrabButton(display, Button1, Mod1Mask|Mod2Mask|Mod3Mask, frame().window().window()); if (Fluxbox::instance()->useMod1()) {