Skip to content

Commit b5dea73

Browse files
authored
Update dwm-bs.h
1 parent 0dc3927 commit b5dea73

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

dwm-bs/dwm-bs.h

-4
Original file line numberDiff line numberDiff line change
@@ -81,18 +81,14 @@ void _ATTRIBS_OFF(HWND hwnd)
8181
{
8282
//politica de transisiones, icon_peek,
8383
tPol = TRUE;
84-
tPeek = FALSE;
8584
DwmSetWindowAttribute(hwnd, DWMWA_TRANSITIONS_FORCEDISABLED, &tPol, sizeof(tPol));
86-
DwmSetWindowAttribute(hwnd, DWMWA_DISALLOW_PEEK, &tPeek, sizeof(tPeek));
8785
DwmSetWindowAttribute(hwnd, DWMWA_FORCE_ICONIC_REPRESENTATION, &tPol, sizeof(tPol));
8886
}
8987

9088
void _ATTRIBS_ON(HWND hwnd)
9189
{
9290
tPol = FALSE;
93-
tPeek = TRUE;
9491
DwmSetWindowAttribute(hwnd, DWMWA_TRANSITIONS_FORCEDISABLED, &tPol, sizeof(tPol));
95-
DwmSetWindowAttribute(hwnd, DWMWA_DISALLOW_PEEK, &tPeek, sizeof(tPeek));
9692
DwmSetWindowAttribute(hwnd, DWMWA_FORCE_ICONIC_REPRESENTATION, &tPol, sizeof(tPol));
9793
}
9894

0 commit comments

Comments
 (0)