This website works better with JavaScript.
Home
Explore
Help
Sign In
Linux
/
dwm
generated from
gmarx/git-template
Watch
1
Star
0
Fork
0
Code
Issues
0
Pull Requests
0
Projects
0
Releases
0
Wiki
Activity
Browse Source
fix of resize (thanks Sander for the hint!)
config
Anselm R. Garbe
17 years ago
parent
f2512243f4
commit
8fcc4ff0ae
1 changed files
with
2 additions
and
2 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+2
-2
client.c
+ 2
- 2
client.c
View File
@ -272,9 +272,9 @@ resize(Client *c, int x, int y, int w, int h, Bool sizehints) {
w
-
=
(
w
-
c
-
>
basew
)
%
c
-
>
incw
;
if
(
c
-
>
inch
)
h
-
=
(
h
-
c
-
>
baseh
)
%
c
-
>
inch
;
if
(
w
<
=
0
|
|
h
<
=
0
)
return
;
}
if
(
w
<
=
0
|
|
h
<
=
0
)
return
;
/* offscreen appearance fixes */
if
(
x
>
sw
)
x
=
sw
-
w
-
2
*
c
-
>
border
;
Write
Preview
Loading…
Cancel
Save