diff options
-rw-r--r-- | src/lib/ecore_x/ecore_x.c | 11 | ||||
-rw-r--r-- | src/lib/ecore_x/ecore_x_private.h | 20 |
2 files changed, 31 insertions, 0 deletions
diff --git a/src/lib/ecore_x/ecore_x.c b/src/lib/ecore_x/ecore_x.c index 8503addacd..924b416ebb 100644 --- a/src/lib/ecore_x/ecore_x.c +++ b/src/lib/ecore_x/ecore_x.c | |||
@@ -1431,6 +1431,17 @@ ecore_x_window_sniff(Ecore_X_Window win) | |||
1431 | if (_ecore_xlib_sync) ecore_x_sync(); | 1431 | if (_ecore_xlib_sync) ecore_x_sync(); |
1432 | } | 1432 | } |
1433 | 1433 | ||
1434 | /* this is internal-only for now */ | ||
1435 | EAPI void | ||
1436 | ecore_x_window_root_properties_select(void) | ||
1437 | { | ||
1438 | LOGFN(__FILE__, __LINE__, __FUNCTION__); | ||
1439 | if (_ecore_x_window_manage_succeeded) return; | ||
1440 | EINA_SAFETY_ON_NULL_RETURN(_ecore_x_disp); | ||
1441 | XSelectInput(_ecore_x_disp, ecore_x_window_root_first_get(), PropertyChangeMask); | ||
1442 | if (_ecore_xlib_sync) ecore_x_sync(); | ||
1443 | } | ||
1444 | |||
1434 | EAPI void | 1445 | EAPI void |
1435 | ecore_x_window_client_sniff(Ecore_X_Window win) | 1446 | ecore_x_window_client_sniff(Ecore_X_Window win) |
1436 | { | 1447 | { |
diff --git a/src/lib/ecore_x/ecore_x_private.h b/src/lib/ecore_x/ecore_x_private.h index 7374a0d9ee..ce81efe3d6 100644 --- a/src/lib/ecore_x/ecore_x_private.h +++ b/src/lib/ecore_x/ecore_x_private.h | |||
@@ -406,4 +406,24 @@ int _ecore_x_shutdown(void); | |||
406 | #define LOGFN(fl, ln, fn) | 406 | #define LOGFN(fl, ln, fn) |
407 | #endif /* ifdef LOGFNS */ | 407 | #endif /* ifdef LOGFNS */ |
408 | 408 | ||
409 | |||
410 | |||
411 | #ifdef EAPI | ||
412 | # undef EAPI | ||
413 | #endif // ifdef EAPI | ||
414 | |||
415 | #ifdef __GNUC__ | ||
416 | # if __GNUC__ >= 4 | ||
417 | # define EAPI __attribute__ ((visibility("default"))) | ||
418 | # else // if __GNUC__ >= 4 | ||
419 | # define EAPI | ||
420 | # endif // if __GNUC__ >= 4 | ||
421 | #else // ifdef __GNUC__ | ||
422 | # define EAPI | ||
423 | #endif // ifdef __GNUC__ | ||
424 | EAPI void ecore_x_window_root_properties_select(void); | ||
425 | #undef EAPI | ||
426 | #define EAPI | ||
427 | |||
428 | |||
409 | #endif /* ifndef _ECORE_X_PRIVATE_H */ | 429 | #endif /* ifndef _ECORE_X_PRIVATE_H */ |