Skip to content

Turning on/off only certain ewmhrequests #1488

Answered by t-wissmann
patrick96 asked this question in Q&A
Discussion options

You must be logged in to vote

For faking the fullscreen state to the client, try this:

hc keybind Mod4-Control-f chain , attr clients.focus.ewmhrequests off , attr clients.focus.ewmhnotify on , attr clients.focus.fullscreen on , attr clients.focus.ewmhnotify off , set_attr clients.focus.fullscreen off , set_attr clients.focus.ewmhnotify on , sprintf CMD 'sleep 2 ; herbstclient attr clients.%s.ewmhrequests on' clients.focus.winid spawn bash -c CMD

It's a bit of a hack, I'm enabling 'ewmhrequests' on purpose a bit later because e.g. firefox directly sends some requests when hlwm changes its fullscreen state.

Replies: 2 comments 3 replies

Comment options

You must be logged in to vote
1 reply
@patrick96
Comment options

Comment options

You must be logged in to vote
2 replies
@LucasTavaresA
Comment options

@patrick96
Comment options

Answer selected by patrick96
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants