GTK+ combo box goes lower

This commit is contained in:
Nikos Ntarmos 2007-12-03 01:59:03 +02:00 committed by Julien Danjou
parent 6f995ad3a5
commit 3931061646
1 changed files with 1 additions and 1 deletions

View File

@ -101,12 +101,12 @@ handle_event_buttonpress(XEvent * e, awesome_config *awesomeconf)
if((c = get_client_bywin(*awesomeconf->clients, ev->window)))
{
XAllowEvents(c->display, ReplayPointer, CurrentTime);
focus(c, ev->same_screen, &awesomeconf[c->screen]);
if(CLEANMASK(ev->state, awesomeconf[c->screen]) == NoSymbol
&& ev->button == Button1)
{
restack(&awesomeconf[c->screen]);
XAllowEvents(c->display, ReplayPointer, CurrentTime);
window_grabbuttons(c->display, c->phys_screen, c->win,
True, True, awesomeconf->buttons.root,
awesomeconf->buttons.client, awesomeconf->numlockmask);