On 21/02/10 08:09, Κράκ Άουτ wrote:
> resources. So if the if-block is removed you get the opposite of 0/sec.
>
The if block includes not only the condition "if (/*...*/)", but also
the line or a block of code following it, whose execution is controlled by the
condition.
signature.asc
D
Στις 10/2/21 4:46 μ.μ., ο/η Страхиња Радић έγραψε:
On 21/02/10 01:10, Κράκ Άουτ wrote:
So, looking at your code, can I limit updates to 1/sec instead of
60/sec? Changing this line,
`if ((ev.xmotion.time - lasttime) <= (1000 / 60))`
to
`if ((ev.xmotion.time - lasttime) <= (1000 / 1))`
would be en
On 21/02/10 03:46, Страхиња Радић wrote:
> time. The check succeeds if the difference is 1000/60 ~ 17 in the first case
> and
> 1000 in the second case. As the divisor gets closer to zero, the threshold
*is lesser than or equal to
signature.asc
Description: PGP signature
On 21/02/10 01:10, Κράκ Άουτ wrote:
> So, looking at your code, can I limit updates to 1/sec instead of
> 60/sec? Changing this line,
> `if ((ev.xmotion.time - lasttime) <= (1000 / 60))`
> to
> `if ((ev.xmotion.time - lasttime) <= (1000 / 1))`
> would be enough?
>
> Can I also achieve 0/sec someho
Στις 10/2/21 2:57 μ.μ., ο/η Hiltjo Posthuma έγραψε:
On Wed, Feb 10, 2021 at 01:10:40PM +0200, Κράκ Άουτ wrote:
Στις 10/2/21 12:34 μ.μ., ο/η Hiltjo Posthuma έγραψε:
On Wed, Feb 10, 2021 at 10:40:39AM +0200, Κράκ Άουτ wrote:
I started using dwm a couple of months ago, switching from xfce4. Since
On Wed, Feb 10, 2021 at 01:10:40PM +0200, Κράκ Άουτ wrote:
> Στις 10/2/21 12:34 μ.μ., ο/η Hiltjo Posthuma έγραψε:
> > On Wed, Feb 10, 2021 at 10:40:39AM +0200, Κράκ Άουτ wrote:
> > > I started using dwm a couple of months ago, switching from xfce4. Since
> > > my pc is a bit constrained on resource
Στις 10/2/21 12:34 μ.μ., ο/η Hiltjo Posthuma έγραψε:
On Wed, Feb 10, 2021 at 10:40:39AM +0200, Κράκ Άουτ wrote:
I started using dwm a couple of months ago, switching from xfce4. Since
my pc is a bit constrained on resources I really appreciate the low
memory footprint of dwm. But I've noticed th
On Wed, Feb 10, 2021 at 10:40:39AM +0200, Κράκ Άουτ wrote:
> I started using dwm a couple of months ago, switching from xfce4. Since
> my pc is a bit constrained on resources I really appreciate the low
> memory footprint of dwm. But I've noticed that it's slower than
> xfce/xfwm when resizing/movi
I started using dwm a couple of months ago, switching from xfce4. Since
my pc is a bit constrained on resources I really appreciate the low
memory footprint of dwm. But I've noticed that it's slower than
xfce/xfwm when resizing/moving floating windows. Also on converting
tiled to floating and vice