| 827 { |
827 { |
| 828 GntWM *wm = GNT_WM(bindable); |
828 GntWM *wm = GNT_WM(bindable); |
| 829 if (wm->_list.window) |
829 if (wm->_list.window) |
| 830 return TRUE; |
830 return TRUE; |
| 831 |
831 |
| |
832 if(!wm->cws->ordered) |
| |
833 return FALSE; |
| |
834 |
| 832 shift_window(wm, wm->cws->ordered->data, -1); |
835 shift_window(wm, wm->cws->ordered->data, -1); |
| 833 return TRUE; |
836 return TRUE; |
| 834 } |
837 } |
| 835 |
838 |
| 836 static gboolean |
839 static gboolean |
| 837 shift_right(GntBindable *bindable, GList *null) |
840 shift_right(GntBindable *bindable, GList *null) |
| 838 { |
841 { |
| 839 GntWM *wm = GNT_WM(bindable); |
842 GntWM *wm = GNT_WM(bindable); |
| 840 if (wm->_list.window) |
843 if (wm->_list.window) |
| 841 return TRUE; |
844 return TRUE; |
| |
845 |
| |
846 if(!wm->cws->ordered) |
| |
847 return FALSE; |
| 842 |
848 |
| 843 shift_window(wm, wm->cws->ordered->data, 1); |
849 shift_window(wm, wm->cws->ordered->data, 1); |
| 844 return TRUE; |
850 return TRUE; |
| 845 } |
851 } |
| 846 |
852 |