swap_windows(): hack to fix some window managers failing to set window to exact specified position
This commit is contained in:
parent
273175b4ff
commit
0db270fd1e
|
|
@ -1466,7 +1466,7 @@ void swap_windows(int dr)
|
|||
|
||||
new_schematic("switch", wp_i, "", 0);
|
||||
/* move primary window to location of deleted window */
|
||||
if(!dr) tclvareval("wm geometry . ", geometry, "; update", NULL);
|
||||
if(!dr) tclvareval("wm withdraw .; update; wm geometry . ", geometry, "; wm deiconify .", NULL);
|
||||
resetwin(1, 1, 1, 0, 0);
|
||||
if(dr) draw();
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue