xpra icon
Bug tracker and wiki

Changes between Initial Version and Version 1 of Ticket #907


Ignore:
Timestamp:
07/03/15 16:40:48 (5 years ago)
Author:
Antoine Martin
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #907

    • Property Status changed from new to assigned
  • Ticket #907 – Description

    initial v1  
    22
    33In particular:
     4* keep in mind #41..
     5* try to reduce the duplication between the window models, WM and the server's view
    46* cleaner abstraction of the "window model" interface
    5 * remove redundant attributes ({{{is_OR}}} vs "override-redirect" property)
     7* remove redundant attributes ({{{is_OR}}} vs "override-redirect" property, {{{is_shadow}}}, etc..)
    68* move some wm-state attributes so OR windows can use them (at least focus?)
    79* more consistent property change code
    810* fixup geometry issues (and try to get rid of the ownership election stuff)
    911* make it less dependent on gtk2 whilst we're at it
     12* maybe move all {{{_handle_XXXX}}} methods to a util class?
     13* generalize {{{NET_WM_ALLOWED_ACTIONS}}}?
     14* maybe consider the eventual move to GTK3? meh, if so we will need to replace {{{add_event_receiver}}} / {{{remove_event_receiver}}} with a {{{WeakKeyDictionary}}}
     15
     16List of API calls to deal with:
     17* {{{get_default_window_icon}}}
     18* {{{_guess_window_type}}}
     19* {{{do_get_property_can_focus}}} just update the "can-focus" property instead
     20* {{{x11_get_server_time}}} - rewrite in Cython
     21* {{{read_initial_properties}}} and X11 properties, it's a mess
     22* {{{call_setup()}}} is inconsistent, it's called for OR and tray, but we call it for "normal" windows
     23* {{{WM_PROTOCOLS}}} -> {{{XGetWMProtocols}}}
     24* {{{WM_CLIENT_MACHINE}}} -> {{{XGetWMClientMachine}}}