devdraw: full-screen cleanup
This commit is contained in:
parent
e601e525de
commit
c155dcfeb7
3 changed files with 16 additions and 1 deletions
|
|
@ -536,7 +536,7 @@ runxevent(XEvent *xev)
|
|||
XLookupString((XKeyEvent*)xev, NULL, 0, &k, NULL);
|
||||
if(k == XK_F11){
|
||||
fullscreen = !fullscreen;
|
||||
_xresizewindow(fullscreen ? screenrect : windowrect);
|
||||
_xmovewindow(fullscreen ? screenrect : windowrect);
|
||||
return;
|
||||
}
|
||||
if((c = _xtoplan9kbd(xev)) < 0)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue