… | |
… | |
1053 | xevent_watcher rootwin_ev; |
1053 | xevent_watcher rootwin_ev; |
1054 | #endif |
1054 | #endif |
1055 | #ifdef HAVE_BG_PIXMAP |
1055 | #ifdef HAVE_BG_PIXMAP |
1056 | int update_background (); |
1056 | int update_background (); |
1057 | #if TRACE_PIXMAPS |
1057 | #if TRACE_PIXMAPS |
1058 | int trace_update_background (const char* file, int line); |
1058 | int trace_update_background (const char *file, int line); |
1059 | # define update_background() trace_update_background (__FILE__, __LINE__) |
1059 | # define update_background() trace_update_background (__FILE__, __LINE__) |
1060 | #endif |
1060 | #endif |
1061 | void update_background_cb (ev::timer &w, int revents); |
1061 | void update_background_cb (ev::timer &w, int revents); |
1062 | ev::timer update_background_ev; |
1062 | ev::timer update_background_ev; |
1063 | #endif |
1063 | #endif |
… | |
… | |
1271 | return base; |
1271 | return base; |
1272 | } |
1272 | } |
1273 | |
1273 | |
1274 | bool option (uint8_t opt) const NOTHROW |
1274 | bool option (uint8_t opt) const NOTHROW |
1275 | { |
1275 | { |
1276 | if (!opt) return 0; |
1276 | if (!opt) |
|
|
1277 | return 0; |
1277 | |
1278 | |
1278 | --opt; |
1279 | --opt; |
1279 | return options[opt >> 3] & (1 << (opt & 7)); |
1280 | return options[opt >> 3] & (1 << (opt & 7)); |
1280 | } |
1281 | } |
1281 | |
1282 | |