xpra icon
Bug tracker and wiki

This bug tracker and wiki are being discontinued
please use https://github.com/Xpra-org/xpra instead.

Opened 6 years ago

Closed 6 years ago

Last modified 16 months ago

#1077 closed enhancement (fixed)

ability to manually control the batch delay at runtime

Reported by: Antoine Martin Owned by: Calvin Ko
Priority: major Milestone: 0.17
Component: server Version: trunk
Keywords: Cc:


So that applications can tell us when things don't need refreshing so much.

Change History (4)

comment:1 Changed 6 years ago by Antoine Martin

Owner: changed from Antoine Martin to Calvin Ko

r11606 adds the required functions to both "xpra control" and the server dbus interface (#904).

Example usage: say you want to temporarily cap screen updates at 10fps, you would:

  • call LockBatchDelay(wid, 100) to force batching at 100ms minimum (note: we don't allow the batch delay to be set lower than what the heuristics have set previously, as they're very rarely wrong, and tend to underestimate anyway)
  • then just call UnlockBatchDelay(wid) when the storm has passed

The control interface also supports the "*" syntax to mean all windows. With dbus, you have to specify individual windows by id.

@calvinko: is that enough for your needs?

comment:2 Changed 6 years ago by Calvin Ko

@antoine: Yes. thank you.

comment:3 Changed 6 years ago by Antoine Martin

Resolution: fixed
Status: newclosed

OK, closing. Feel free to re-open if you need more.

comment:4 Changed 16 months ago by migration script

this ticket has been moved to: https://github.com/Xpra-org/xpra/issues/1077

Note: See TracTickets for help on using tickets.