Allow changing the corner of the first WnckWorkspace.
Submitted by Andrzej
Link to original bug (#664780)
Description
Currently the first WnckWorkspace is always at the top left corner of the pager.
This feels awkward when the pager is in the vertical orientation. In vertical orientation the first workspace should be either at:
- bottom-left corner (if the pager is rotated 90 deg. counter clockwise), or
- top-right corner (if the pager is rotated 90 deg. clockwise).
Adding such functionality would require extending the API with something like:
void wnck_pager_set_origin (WnckPager *pager, WnckPagerOrigin origin); typedef enum { WNCK_PAGER_ORIGIN_TOP_LEFT, //current behavior, default WNCK_PAGER_ORIGIN_TOP_RIGHT, WNCK_PAGER_LAYOUT_BOTTOM_LEFT, WNCK_PAGER_LAYOUT_BOTTOM_RIGHT //for the sake of completeness, not really needed } WnckPagerLayoutPolicy;
If such API extension can be accepted, I'll go ahead and implement this feature on top of libwnck-2.30.