Summary: | Automatic composite disabling/enabling when OpenGL application started | ||
---|---|---|---|
Product: | [Plasma] kwin | Reporter: | Roman Šmakal <schmaker> |
Component: | general | Assignee: | KWin default assignee <kwin-bugs-null> |
Status: | RESOLVED DUPLICATE | ||
Severity: | wishlist | ||
Priority: | NOR | ||
Version: | unspecified | ||
Target Milestone: | --- | ||
Platform: | Ubuntu | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | ||
Sentry Crash Report: |
Description
Roman Šmakal
2008-04-22 10:49:53 UTC
it is possible to hook those functions responsible for creating an OpenGL window on libX11 level, however, to achieve that, you'd have to LD_PRELOAD a library that does that, and then informs (dbus/rpc/...) other processes about this event. However, this is *hackery*, and I guess a better approach would be to have a hook API for that registered in the libX11 library. but as we speak of window managers, which get already informed when windows get created (and mapped) onto the screen - is it also possible to retrieve the info on wether this window is a 3d accelerated window/widget??? if yes, that would make things much easier, and implementing a (configurable!) switch to your which would be easily possible - does someone know how? |