revert to sync grab for now

This commit is contained in:
rathnor 2004-04-14 16:38:33 +00:00
parent cf2b24b645
commit cd5f6a81cf
2 changed files with 4 additions and 2 deletions

View file

@ -1,6 +1,8 @@
(Format: Year/Month/Day)
Changes for 0.9.9:
*04/04/14:
* Revert to sync. Async stops it from replaying (Simon)
Window.cc
* 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

View file

@ -22,7 +22,7 @@
// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
// DEALINGS IN THE SOFTWARE.
// $Id: Window.cc,v 1.279 2004/04/14 15:40:57 rathnor Exp $
// $Id: Window.cc,v 1.280 2004/04/14 16:38:33 rathnor Exp $
#include "Window.hh"
@ -977,7 +977,7 @@ void FluxboxWindow::grabButtons() {
// needed for click to focus
XGrabButton(display, Button1, AnyModifier,
frame().window().window(), True, ButtonPressMask,
GrabModeAsync, GrabModeAsync, None, None);
GrabModeSync, GrabModeSync, None, None);
XUngrabButton(display, Button1, Mod1Mask|Mod2Mask|Mod3Mask, frame().window().window());
if (Fluxbox::instance()->useMod1()) {