diff options
| author | Simeon Simeonov | 2020-07-03 19:36:47 +0200 |
|---|---|---|
| committer | Simeon Simeonov | 2020-07-03 19:36:47 +0200 |
| commit | e3b835989ec5f1aa370e8e791aa0d4be6bd2eb45 (patch) | |
| tree | dcb92058814908cb6a290d66178ed5d6aadeb173 /x11-terms/sakura/files/sakura-3.7.0-single-tab.patch | |
| parent | ec00f787cd84d1a6c8063177d6e7207bef437eff (diff) | |
Removing x11-terms/sakura as single tab patch went upstream
Diffstat (limited to 'x11-terms/sakura/files/sakura-3.7.0-single-tab.patch')
| -rw-r--r-- | x11-terms/sakura/files/sakura-3.7.0-single-tab.patch | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/x11-terms/sakura/files/sakura-3.7.0-single-tab.patch b/x11-terms/sakura/files/sakura-3.7.0-single-tab.patch deleted file mode 100644 index ddd0cec..0000000 --- a/x11-terms/sakura/files/sakura-3.7.0-single-tab.patch +++ /dev/null | |||
| @@ -1,13 +0,0 @@ | |||
| 1 | diff -rupN sakura-3.7.0.old/src/sakura.c sakura-3.7.0/src/sakura.c | ||
| 2 | --- sakura-3.7.0.old/src/sakura.c 2019-08-12 23:13:08.000000000 +0200 | ||
| 3 | +++ sakura-3.7.0/src/sakura.c 2019-12-01 20:21:29.067142517 +0100 | ||
| 4 | @@ -511,6 +511,9 @@ sakura_key_press (GtkWidget *widget, Gdk | ||
| 5 | if ( ((event->state & sakura.switch_tab_accelerator) == sakura.switch_tab_accelerator) && | ||
| 6 | ((event->state & sakura.move_tab_accelerator) != sakura.move_tab_accelerator) ) { | ||
| 7 | |||
| 8 | + /* Just propagate the event if there is only one tab */ | ||
| 9 | + if(npages < 2) return FALSE; | ||
| 10 | + | ||
| 11 | if ((keycode>=sakura_tokeycode(GDK_KEY_1)) && (keycode<=sakura_tokeycode( GDK_KEY_9))) { | ||
| 12 | |||
| 13 | /* User has explicitly disabled this branch, make sure to propagate the event */ | ||
