… | |
… | |
1462 | selection_property (ev.xproperty.window, ev.xproperty.atom); |
1462 | selection_property (ev.xproperty.window, ev.xproperty.atom); |
1463 | |
1463 | |
1464 | break; |
1464 | break; |
1465 | |
1465 | |
1466 | case SelectionClear: |
1466 | case SelectionClear: |
1467 | selection_clear (); |
1467 | selection_clear (ev.xselectionclear.selection == xa[XA_CLIPBOARD]); |
1468 | break; |
1468 | break; |
1469 | |
1469 | |
1470 | case SelectionNotify: |
1470 | case SelectionNotify: |
1471 | if (selection_wait == Sel_normal) |
1471 | if (selection_wait == Sel_normal) |
1472 | selection_paste (ev.xselection.requestor, ev.xselection.property, true); |
1472 | selection_paste (ev.xselection.requestor, ev.xselection.property, true); |
… | |
… | |
3430 | case Rxvt_Pixmap: |
3430 | case Rxvt_Pixmap: |
3431 | if (!strcmp (str, "?")) |
3431 | if (!strcmp (str, "?")) |
3432 | { |
3432 | { |
3433 | char str[256]; |
3433 | char str[256]; |
3434 | |
3434 | |
3435 | sprintf (str, "[%dx%d+%d+%d]", /* can't presume snprintf () ! */ |
3435 | sprintf (str, "[%dx%d+%d+%d]", |
3436 | min (bgPixmap.h_scale, 32767), min (bgPixmap.v_scale, 32767), |
3436 | min (bgPixmap.h_scale, 32767), min (bgPixmap.v_scale, 32767), |
3437 | min (bgPixmap.h_align, 32767), min (bgPixmap.v_align, 32767)); |
3437 | min (bgPixmap.h_align, 32767), min (bgPixmap.v_align, 32767)); |
3438 | process_xterm_seq (XTerm_title, str, CHAR_ST); |
3438 | process_xterm_seq (XTerm_title, str, CHAR_ST); |
3439 | } |
3439 | } |
3440 | else |
3440 | else |