Skip to content

Removing references to 'override_redirect'#1

Open
nnesse wants to merge 1 commit into
gamedevtech:masterfrom
nnesse:master
Open

Removing references to 'override_redirect'#1
nnesse wants to merge 1 commit into
gamedevtech:masterfrom
nnesse:master

Conversation

@nnesse

@nnesse nnesse commented Oct 7, 2015

Copy link
Copy Markdown

The 'overide_redirect' flag as used doesn't take effect since it's value mask is omitted. I'm not sure what your intent was but it's not discussed in the readme so fixing it by removing references to it seems reasonable.

The flag prevents the window manager from adding decorations which I'm not sure is the most common use case. If you're removing the decorations you probably want make it a fullscreen window and there is another method for that involving window manager hints that seems to be preferred. There is an example of that in SDL and also in my glplatform library.

In places where this flag is used in code the 'CWOverrideRedirect' mask is
not set so the flag won't take effect. If the mask was set then it would
create a window with no window decorations which might not be what the
reader wants to do.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant