1
0
mirror of https://github.com/gryf/wmaker.git synced 2025-12-20 04:48:06 +01:00

Revert "Prevent border drifting."

This reverts commit df601267e6.

Conflicts:
	src/window.c
This commit is contained in:
Carlos R. Mafra
2012-12-18 18:18:14 +00:00
parent 0a461416e3
commit ff52ef3996
2 changed files with 7 additions and 24 deletions

View File

@@ -83,8 +83,6 @@ void wClientRestore(WWindow * wwin)
#endif
/* account for titlebar and border */
wwin->frame_y += wwin->frame->top_width;
wwin->frame_x -= wwin->old_border_width;
wwin->frame_y -= wwin->old_border_width;
if (HAS_BORDER(wwin)) {
wwin->frame_x += FRAME_BORDER_WIDTH;
wwin->frame_y += FRAME_BORDER_WIDTH;