diff options
author | Richard Grenville <[email protected]> | 2013-04-26 14:01:20 +0800 |
---|---|---|
committer | Richard Grenville <[email protected]> | 2013-04-26 14:01:20 +0800 |
commit | b5116f646543d1bcc72f3fd1e9c54be10d9ea8a7 (patch) | |
tree | b715f6150abeb2bc302ab44a5b2c1512decd9a8c /dbus.c | |
parent | ec2cd6276d6b137b946a48f4dffaaecd793bff0f (diff) | |
download | tdebase-b5116f646543d1bcc72f3fd1e9c54be10d9ea8a7.tar.gz tdebase-b5116f646543d1bcc72f3fd1e9c54be10d9ea8a7.zip |
Improvement: Enhance --glx-swap-method
- Enhance --glx-swap-method to support longer buffers ages (3-6), and
automatic buffer age detection via GLX_EXT_buffer_age.
Diffstat (limited to 'dbus.c')
-rw-r--r-- | dbus.c | 6 |
1 files changed, 1 insertions, 5 deletions
@@ -914,11 +914,7 @@ cdbus_process_opts_get(session_t *ps, DBusMessage *msg) { cdbus_m_opts_get_do(glx_copy_from_front, cdbus_reply_bool); cdbus_m_opts_get_do(glx_use_copysubbuffermesa, cdbus_reply_bool); cdbus_m_opts_get_do(glx_no_rebind_pixmap, cdbus_reply_bool); - if (!strcmp("glx_swap_method", target)) { - assert(ps->o.glx_swap_method < sizeof(GLX_SWAP_METHODS_STRS) / sizeof(GLX_SWAP_METHODS_STRS[0])); - cdbus_reply_string(ps, msg, GLX_SWAP_METHODS_STRS[ps->o.glx_swap_method]); - return true; - } + cdbus_m_opts_get_do(glx_swap_method, cdbus_reply_int32); #endif cdbus_m_opts_get_do(track_focus, cdbus_reply_bool); |