a borderless option to run without titlebar/scrollbar or anything, similar to Eterm, or similar to what WindowMaker has options for each window.
Logged In: YES user_id=369534
By all means, yes! This is the one feature that keeps me coming back to Eterm (although I prefer aterm overall).
Logged In: YES user_id=518213
Here's a small patch enabling you to do this. (diffed from aterm-0.4.2) Usage: aterm -x or aterm --borderless
Cut'n paste from below and save to aterm.diff Patch like this: patch main.c aterm.diff
45c45,46 < int ParentWinNum = 0; --- > int ParentWinNum = 0, > BORDERLESS = 0; 661a663 > 774a777,793 > if (BORDERLESS) { > Atom WM_HINTS; > WM_HINTS = XInternAtom(Xdisplay, "_MOTIF_WM_HINTS", True); > if (WM_HINTS != None) { > struct { > unsigned long flags; > unsigned long functions; > unsigned long decorations; > long input_mode; > unsigned long status; > } MWMHints = { (1L << 1), 0, 0, 0, 0}; > XChangeProperty(Xdisplay, TermWin.parent, WM_HINTS, > WM_HINTS, 32, PropModeReplace, > (unsigned char *)&MWMHints, > sizeof(MWMHints)/sizeof(long)); > } > } 1578a1598,1608 > /* Messy optionparser - keeping it simple */ > for (i = 0; i < argc; i++) { > if (!strcmp(argv[i], "-x") || !strcmp(argv[i], "--borderless")) { > int z; > BORDERLESS = 1; > for (z = i; z < argc - 1; z++) > argv[z] = argv[z + 1]; > argc--; > break; > } > } 1586a1617
Logged In: YES user_id=808969
Though there is a patch, it'd be nice to have this included by default.
The patch doesn't seem to work for me. After deleting the breaks in the lines, I get the following error:
root:src$ patch main.c aterm.diff patching file main.c patch: **** unexpected end of file in patch at line 38
Logged In: NO
rxvt-unicode has a --borderLess option that sounds as if it were ding what you wanted.
Log in to post a comment.
Logged In: YES
user_id=369534
By all means, yes! This is the one feature that keeps me
coming back to Eterm (although I prefer aterm overall).
Logged In: YES
user_id=518213
Here's a small patch enabling you to do this.
(diffed from aterm-0.4.2)
Usage: aterm -x or aterm --borderless
Cut'n paste from below and save to aterm.diff
Patch like this: patch main.c aterm.diff
45c45,46
< int ParentWinNum = 0;
---
> int ParentWinNum = 0,
> BORDERLESS = 0;
661a663
>
774a777,793
> if (BORDERLESS) {
> Atom WM_HINTS;
> WM_HINTS = XInternAtom(Xdisplay,
"_MOTIF_WM_HINTS", True);
> if (WM_HINTS != None) {
> struct {
> unsigned long flags;
> unsigned long functions;
> unsigned long decorations;
> long input_mode;
> unsigned long status;
> } MWMHints = { (1L << 1), 0, 0, 0, 0};
> XChangeProperty(Xdisplay,
TermWin.parent, WM_HINTS,
> WM_HINTS, 32,
PropModeReplace,
> (unsigned char *)&MWMHints,
>
sizeof(MWMHints)/sizeof(long));
> }
> }
1578a1598,1608
> /* Messy optionparser - keeping it simple */
> for (i = 0; i < argc; i++) {
> if (!strcmp(argv[i], "-x") || !strcmp(argv[i],
"--borderless")) {
> int z;
> BORDERLESS = 1;
> for (z = i; z < argc - 1; z++)
> argv[z] = argv[z + 1];
> argc--;
> break;
> }
> }
1586a1617
Logged In: YES
user_id=808969
Though there is a patch, it'd be nice to have this included by default.
Logged In: YES
user_id=808969
Though there is a patch, it'd be nice to have this included by default.
Logged In: YES
user_id=808969
The patch doesn't seem to work for me. After deleting the breaks in the lines, I
get the following error:
root:src$ patch main.c aterm.diff
patching file main.c
patch: **** unexpected end of file in patch at line 38
Logged In: NO
rxvt-unicode has a --borderLess option that sounds as if it
were ding what you wanted.