GTK+ combo box goes lower
This commit is contained in:
parent
6f995ad3a5
commit
3931061646
2
event.c
2
event.c
|
@ -101,12 +101,12 @@ handle_event_buttonpress(XEvent * e, awesome_config *awesomeconf)
|
||||||
|
|
||||||
if((c = get_client_bywin(*awesomeconf->clients, ev->window)))
|
if((c = get_client_bywin(*awesomeconf->clients, ev->window)))
|
||||||
{
|
{
|
||||||
XAllowEvents(c->display, ReplayPointer, CurrentTime);
|
|
||||||
focus(c, ev->same_screen, &awesomeconf[c->screen]);
|
focus(c, ev->same_screen, &awesomeconf[c->screen]);
|
||||||
if(CLEANMASK(ev->state, awesomeconf[c->screen]) == NoSymbol
|
if(CLEANMASK(ev->state, awesomeconf[c->screen]) == NoSymbol
|
||||||
&& ev->button == Button1)
|
&& ev->button == Button1)
|
||||||
{
|
{
|
||||||
restack(&awesomeconf[c->screen]);
|
restack(&awesomeconf[c->screen]);
|
||||||
|
XAllowEvents(c->display, ReplayPointer, CurrentTime);
|
||||||
window_grabbuttons(c->display, c->phys_screen, c->win,
|
window_grabbuttons(c->display, c->phys_screen, c->win,
|
||||||
True, True, awesomeconf->buttons.root,
|
True, True, awesomeconf->buttons.root,
|
||||||
awesomeconf->buttons.client, awesomeconf->numlockmask);
|
awesomeconf->buttons.client, awesomeconf->numlockmask);
|
||||||
|
|
Loading…
Reference in New Issue