Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Acquire the WM_Sx selection (enables --replace) #536

Closed
stapelberg opened this issue Oct 10, 2011 · 4 comments
Closed

Acquire the WM_Sx selection (enables --replace) #536

stapelberg opened this issue Oct 10, 2011 · 4 comments
Assignees
Labels
accepted Has been approved and is ok to start working on enhancement

Comments

@stapelberg
Copy link
Member

A window manager should acquire ownership of the WM_Sx selection. Handling this properly allows us to replace existing window managers and be replaced by other window managers.

See also:
http://tronche.com/gui/x/icccm/sec-4.html#s-4.3

@stapelberg
Copy link
Member Author

Minor feature. Unsetting version.

@stapelberg
Copy link
Member Author

To set expectations: I will not implement this, so I am relying on a patch here. Submit to http://cr.i3wm.org/ please.

@Airblader
Copy link
Member

Just an FYI to anyone taking a shot at this, it is well worth looking into Openbox's source to see how this can be done.

@psychon
Copy link
Contributor

psychon commented Oct 25, 2016

Another hint could be the following commits. (Note that I know that awesome is not confirming to the spec, I don't see the point in jumping through all the necessary hoops just to get a current timestamp that can be used for acquiring the selection, so I just used XCB_CURRENT_TIME):
awesomeWM/awesome@5a17b39 awesomeWM/awesome@1911112 awesomeWM/awesome@e824f8f awesomeWM/awesome@f6e633e

@Airblader Airblader added tentatively_accepted This feature has been previously accepted, but needs to be re-evaluated now. and removed accepted Has been approved and is ok to start working on labels Dec 31, 2020
psychon added a commit to psychon/i3 that referenced this issue Mar 10, 2021
Related to i3#536

Signed-off-by: Uli Schlachter <psychon@znc.in>
@Airblader Airblader added accepted Has been approved and is ok to start working on and removed tentatively_accepted This feature has been previously accepted, but needs to be re-evaluated now. labels Mar 10, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
accepted Has been approved and is ok to start working on enhancement
Projects
None yet
Development

No branches or pull requests

4 participants