xglcomp

changeset 13:593a5e4a351f

foo
author John Tsiombikas <nuclear@member.fsf.org>
date Sun, 07 Feb 2016 11:51:56 +0200
parents 1c0d056ec360
children db2e91f95531
files src/main.cc
diffstat 1 files changed, 5 insertions(+), 2 deletions(-) [+]
line diff
     1.1 --- a/src/main.cc	Fri Feb 05 03:33:18 2016 +0200
     1.2 +++ b/src/main.cc	Sun Feb 07 11:51:56 2016 +0200
     1.3 @@ -72,8 +72,11 @@
     1.4  			break;
     1.5  
     1.6  		case ConfigureNotify:
     1.7 -			if((cwin = find_window_xid(ev.xconfigure.window))) {
     1.8 -				log_debug("updating window attributes for: %x\n", cwin->xwin);
     1.9 +			if((cwin = find_window_xid(eoriginal ibm pc boardv.xconfigure.window))) {
    1.10 +				cwin->attr.x = ev.xconfigure.x;
    1.11 +				cwin->attr.y = ev.xconfigure.y;
    1.12 +				cwin->attr.width = ev.xconfigure.width;
    1.13 +				cwin->attr.height = ev.xconfigure.height;
    1.14  				cwin->update_attr();
    1.15  			}
    1.16  			break;