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

_NET_WM_SYNC_REQUEST resizing support #723

Open
totaam opened this issue Oct 31, 2014 · 1 comment
Open

_NET_WM_SYNC_REQUEST resizing support #723

totaam opened this issue Oct 31, 2014 · 1 comment
Labels
enhancement New feature or request X11

Comments

@totaam
Copy link
Collaborator

totaam commented Oct 31, 2014

Long overdue.
Not going to help with applications that do not support it (I'm looking at you Java: #705), but will probably help with many other well behaved applications:
Window Manager Protocols: _NET_WM_SYNC_REQUEST

@totaam
Copy link
Collaborator Author

totaam commented Sep 22, 2016

Problem is that gdk.Window enable-synchronized-configure is that Toplevel GTK+ windows automatically use this protocol.

And there is no easy way to disable this, here's the check we could hijack:

  impl = GDK_WINDOW_IMPL_X11 (((GdkWindowObject *)window)->impl);
  if (!impl->use_synchronized_configure)
    return;

By accessing the underlying X11 window object.
Problem is that the call to gdk_window_configure_finished is embedded deep in the gtk_window_move_resize and gtk_window_configure_event handlers.

And so it might just be easier to not use GTK at all...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request X11
Projects
None yet
Development

No branches or pull requests

1 participant