… | |
… | |
302 | } |
302 | } |
303 | |
303 | |
304 | ///////////////////////////////////////////////////////////////////////////// |
304 | ///////////////////////////////////////////////////////////////////////////// |
305 | |
305 | |
306 | #define IOM_CLASS "urxvt" |
306 | #define IOM_CLASS "urxvt" |
|
|
307 | #define IOM_WARN rxvt_warn |
307 | #include <iom_perl.h> |
308 | #include <iom_perl.h> |
308 | |
309 | |
309 | ///////////////////////////////////////////////////////////////////////////// |
310 | ///////////////////////////////////////////////////////////////////////////// |
310 | |
311 | |
311 | struct rxvt_perl_interp rxvt_perl; |
312 | struct rxvt_perl_interp rxvt_perl; |
… | |
… | |
1473 | |
1474 | |
1474 | const char * |
1475 | const char * |
1475 | rxvt_term::x_resource (const char *name) |
1476 | rxvt_term::x_resource (const char *name) |
1476 | |
1477 | |
1477 | bool |
1478 | bool |
1478 | rxvt_term::option (U32 optval, int set = -1) |
1479 | rxvt_term::option (U8 optval, int set = -1) |
1479 | CODE: |
1480 | CODE: |
1480 | { |
1481 | { |
1481 | RETVAL = THIS->options & optval; |
1482 | RETVAL = THIS->option (optval); |
1482 | |
1483 | |
1483 | if (set >= 0) |
1484 | if (set >= 0) |
1484 | { |
1485 | { |
1485 | if (set) |
|
|
1486 | THIS->options |= optval; |
1486 | THIS->set_option (optval, set); |
1487 | else |
|
|
1488 | THIS->options &= ~optval; |
|
|
1489 | |
1487 | |
1490 | if (THIS->check_ev.is_active ()) // avoid doing this before START |
1488 | if (THIS->check_ev.is_active ()) // avoid doing this before START |
1491 | switch (optval) |
1489 | switch (optval) |
1492 | { |
1490 | { |
1493 | case Opt_skipBuiltinGlyphs: |
1491 | case Opt_skipBuiltinGlyphs: |