wmmisc: Add support for wmgeneral's -geometry command line argument.
This commit is contained in:
parent
01bb8bdecf
commit
6b1e14dab3
|
@ -44,7 +44,8 @@ dockapp_show_help( const char* wm_name )
|
||||||
printf( "the system's fork count and load average.\n\n" );
|
printf( "the system's fork count and load average.\n\n" );
|
||||||
printf( " -h display this help and exit\n" );
|
printf( " -h display this help and exit\n" );
|
||||||
printf( " -v output version information and exit\n" );
|
printf( " -v output version information and exit\n" );
|
||||||
printf( " -display DISPLAY set display\n\n");
|
printf( " -display DISPLAY set display\n");
|
||||||
|
printf( " -geometry +x+y set position\n\n");
|
||||||
printf( "Report bugs to <" PACKAGE_BUGREPORT ">.\n" );
|
printf( "Report bugs to <" PACKAGE_BUGREPORT ">.\n" );
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -101,6 +102,7 @@ main( int argc, char** argv )
|
||||||
int opt = 0;
|
int opt = 0;
|
||||||
const struct option longopts[] = {
|
const struct option longopts[] = {
|
||||||
{"display", required_argument, NULL, 0},
|
{"display", required_argument, NULL, 0},
|
||||||
|
{"geometry", required_argument, NULL, 0},
|
||||||
{0, 0, 0, 0}
|
{0, 0, 0, 0}
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
|
@ -40,6 +40,9 @@ Display help and exit
|
||||||
.TP
|
.TP
|
||||||
.B \-display DISPLAY
|
.B \-display DISPLAY
|
||||||
Set display
|
Set display
|
||||||
|
.TP
|
||||||
|
.B \-geometry +x+y
|
||||||
|
Set position
|
||||||
.SH BUGS
|
.SH BUGS
|
||||||
Report bugs and suggestion to the current \fBwmmisc\fR maintainer:
|
Report bugs and suggestion to the current \fBwmmisc\fR maintainer:
|
||||||
Jesse S. <luxorfalls@sbcglobal.net>.
|
Jesse S. <luxorfalls@sbcglobal.net>.
|
||||||
|
|
Loading…
Reference in a new issue