… | |
… | |
21 | #include "iom.h" |
21 | #include "iom.h" |
22 | #include "salloc.h" |
22 | #include "salloc.h" |
23 | |
23 | |
24 | #if ENABLE_FRILLS |
24 | #if ENABLE_FRILLS |
25 | # define ENABLE_XEMBED 1 |
25 | # define ENABLE_XEMBED 1 |
|
|
26 | # define ENABLE_EWMH 1 |
26 | #endif |
27 | #endif |
27 | |
28 | |
28 | /* |
29 | /* |
29 | ***************************************************************************** |
30 | ***************************************************************************** |
30 | * SYSTEM HACKS |
31 | * SYSTEM HACKS |
… | |
… | |
471 | XTerm_Color_UL = 19, // change actual 'Underline' color |
472 | XTerm_Color_UL = 19, // change actual 'Underline' color |
472 | XTerm_Pixmap = 20, // new bg pixmap |
473 | XTerm_Pixmap = 20, // new bg pixmap |
473 | XTerm_restoreFG = 39, // change default fg color |
474 | XTerm_restoreFG = 39, // change default fg color |
474 | XTerm_restoreBG = 49, // change default bg color |
475 | XTerm_restoreBG = 49, // change default bg color |
475 | XTerm_dumpscreen = 55, // dump scrollback and all of screen |
476 | XTerm_dumpscreen = 55, // dump scrollback and all of screen |
|
|
477 | |
476 | XTerm_locale = 701, // change locale |
478 | URxvt_locale = 701, // change locale |
477 | XTerm_Menu = 703, // set menu item |
479 | URxvt_Menu = 703, // set menu item |
478 | XTerm_Color_IT = 704, // change actual 'Italic' colour |
480 | URxvt_Color_IT = 704, // change actual 'Italic' colour |
479 | XTerm_Color_tint = 705, // change actual tint colour |
481 | URxvt_Color_tint = 705, // change actual tint colour |
480 | |
482 | |
481 | URxvt_font = 710, |
483 | URxvt_font = 710, |
482 | URxvt_boldFont = 711, |
484 | URxvt_boldFont = 711, |
483 | URxvt_italicFont = 712, |
485 | URxvt_italicFont = 712, |
484 | URxvt_boldItalicFont = 713, |
486 | URxvt_boldItalicFont = 713, |
|
|
487 | |
|
|
488 | URxvt_view_up = 720, |
|
|
489 | URxvt_view_down = 721, |
485 | }; |
490 | }; |
486 | |
491 | |
487 | /* Words starting with `Color_' are colours. Others are counts */ |
492 | /* Words starting with `Color_' are colours. Others are counts */ |
488 | /* |
493 | /* |
489 | * The following comment is mostly obsolete since pixcolor_set was expanded: |
494 | * The following comment is mostly obsolete since pixcolor_set was expanded: |
… | |
… | |
680 | XA_INCR, |
685 | XA_INCR, |
681 | XA_WM_PROTOCOLS, |
686 | XA_WM_PROTOCOLS, |
682 | XA_WM_DELETE_WINDOW, |
687 | XA_WM_DELETE_WINDOW, |
683 | XA_CLIPBOARD, |
688 | XA_CLIPBOARD, |
684 | #if ENABLE_FRILLS |
689 | #if ENABLE_FRILLS |
|
|
690 | XA_MOTIF_WM_HINTS, |
|
|
691 | #endif |
|
|
692 | #if ENABLE_EWMH |
685 | XA_NET_WM_PID, |
693 | XA_NET_WM_PID, |
686 | XA_MOTIF_WM_HINTS, |
|
|
687 | XA_NET_WM_NAME, |
694 | XA_NET_WM_NAME, |
688 | XA_NET_WM_ICON_NAME, |
695 | XA_NET_WM_ICON_NAME, |
|
|
696 | XA_NET_WM_PING, |
689 | #endif |
697 | #endif |
690 | #if USE_XIM |
698 | #if USE_XIM |
691 | XA_WM_LOCALE_NAME, |
699 | XA_WM_LOCALE_NAME, |
692 | #endif |
700 | #endif |
693 | #if TRANSPARENT |
701 | #if TRANSPARENT |
… | |
… | |
1466 | void scr_release (); |
1474 | void scr_release (); |
1467 | void scr_clear (bool really = false); |
1475 | void scr_clear (bool really = false); |
1468 | void scr_refresh (unsigned char refresh_type); |
1476 | void scr_refresh (unsigned char refresh_type); |
1469 | bool scr_refresh_rend (rend_t mask, rend_t value); |
1477 | bool scr_refresh_rend (rend_t mask, rend_t value); |
1470 | void scr_erase_screen (int mode); |
1478 | void scr_erase_screen (int mode); |
|
|
1479 | void scr_erase_savelines (); |
1471 | void scr_touch (bool refresh); |
1480 | void scr_touch (bool refresh); |
1472 | void scr_expose (int x, int y, int width, int height, bool refresh); |
1481 | void scr_expose (int x, int y, int width, int height, bool refresh); |
1473 | rxvt_fontset *scr_find_fontset (rend_t r = DEFAULT_RSTYLE); |
1482 | rxvt_fontset *scr_find_fontset (rend_t r = DEFAULT_RSTYLE); |
1474 | void scr_recolour (); |
1483 | void scr_recolour (); |
1475 | void scr_remap_chars (); |
1484 | void scr_remap_chars (); |