ログイン
編集不可のページディスカッション情報添付ファイル
clear/note/2011-09の添付ファイル:dwm-5.9-rotate.diff

MMA

添付ファイル 'dwm-5.9-rotate.diff'

ダウンロード

   1 --- dwm.original.c	2011-09-04 14:38:30.232071429 +0900
   2 +++ dwm.c	2011-09-16 00:14:43.811560391 +0900
   3 @@ -206,6 +206,7 @@
   4  static void resizeclient(Client *c, int x, int y, int w, int h);
   5  static void resizemouse(const Arg *arg);
   6  static void restack(Monitor *m);
   7 +static void rotate(const Arg *arg);
   8  static void run(void);
   9  static void scan(void);
  10  static Bool sendevent(Client *c, Atom proto);
  11 @@ -1403,6 +1404,18 @@
  12  }
  13  
  14  void
  15 +rotate(const Arg *arg) {
  16 +	Client *c, *bottom;
  17 +
  18 +	if(!selmon->lt[selmon->sellt]->arrange)
  19 +		return;
  20 +	for(bottom = c = nexttiled(selmon->clients); c; c = nexttiled(c->next))
  21 +		bottom = c;
  22 +	if(bottom)
  23 +		pop(bottom);
  24 +}
  25 +
  26 +void
  27  run(void) {
  28  	XEvent ev;
  29  	/* main event loop */
  30 @@ -2067,3 +2080,4 @@
  31  	XCloseDisplay(dpy);
  32  	return EXIT_SUCCESS;
  33  }
  34 +
  35 

添付ファイル

添付ファイルを参照するには、(下のファイル一覧にあるように)attachment:filenameと記述します。 [get]リンクのURLは変更される可能性が高いので、利用しないでください。
 All files | Selected Files: delete move to page copy to page

ファイルを添付する権限がありません。