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

Last modified 8 months ago

#1034 assigned enhancement

X11 bindings refactoring

Reported by: Antoine Martin Owned by: Antoine Martin
Priority: minor Milestone: future
Component: server Version: trunk
Keywords: Cc:


Follow up from #907, related to #640, #41, #990, #846, #881, #911


  • group-leader code calls gtk
  • prop_get is called from an XSync context we manage, should never call into GTK - it doesn't, but we should make certain it never will
  • split prop_get into X11_prop_get and inject X11 dependency?
  • "can-focus" is not used
  • "call_setup()" is inconsistent
  • WM_STATE still a bit of a mess..
  • iconic: boolean is not good enough? (need to map Withdrawn.. old clients can't do it)
  • use managed connect for "notify::" in callers?
  • simplify X11 signals: rename them X11zzz, ie: do_X11ClientMessage(..)
  • XChangeWindowAttributes can be used to change OR!?
  • x11_get_server_time -> replace with native X11 call?
  • get_default_window_icon?
  • client_reparented should be original parent (cleaner?) - not safe
  • WM_CLIENT_MACHINE: use XGetWMClientMachine
  • add_event_receiver / remove_event_receiver: use WeakHashMap? to workaround gtk3 lack of set_data, would need route_event anyway - meh

Change History (4)

comment:1 Changed 6 years ago by Antoine Martin

Milestone: 0.170.18
Status: newassigned

comment:2 Changed 5 years ago by Antoine Martin

Milestone: 0.181.0

Milestone renamed

comment:3 Changed 5 years ago by Antoine Martin

Milestone: 1.0future
Priority: majorminor

Nothing critical here.

comment:4 Changed 8 months ago by migration script

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

Note: See TracTickets for help on using tickets.