revisions_290.patch 28 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418
  1. === modified file 'fltk/jwm-keyboard.cxx'
  2. --- fltk/jwm-keyboard.cxx 2018-10-03 19:59:48 +0000
  3. +++ fltk/jwm-keyboard.cxx 2018-11-06 13:57:39 +0000
  4. @@ -21,7 +21,7 @@
  5. * You may redistribute this, but you must keep this comment in place
  6. * Jesus is my Lord, and if you don't like it feel free to ignore it.
  7. */
  8. -// generated by Fast Light User Interface Designer (fluid) version 1.0303
  9. +// generated by Fast Light User Interface Designer (fluid) version 1.0304
  10. #include <libintl.h>
  11. #include "jwm-keyboard.h"
  12. @@ -408,39 +408,39 @@
  13. unsigned char KeyboardUI::menu_Action_i18n_done = 0;
  14. Fl_Menu_Item KeyboardUI::menu_Action[] = {
  15. - {"move to the next window in the task list", 0, (Fl_Callback*)KeyboardUI::cb_next1, 0, 0, FL_NORMAL_LABEL, 0, 14, 0},
  16. - {"move to the next window in the stacking order", 0, (Fl_Callback*)KeyboardUI::cb_nextstacked1, 0, 0, FL_NORMAL_LABEL, 0, 14, 0},
  17. - {"move to the previous window in the task list", 0, (Fl_Callback*)KeyboardUI::cb_prev1, 0, 0, FL_NORMAL_LABEL, 0, 14, 0},
  18. - {"move to the previous window in the stacking order", 0, (Fl_Callback*)KeyboardUI::cb_prevstacked1, 0, 0, FL_NORMAL_LABEL, 0, 14, 0},
  19. - {"close window", 0, (Fl_Callback*)KeyboardUI::cb_close1, 0, 0, FL_NORMAL_LABEL, 0, 14, 0},
  20. - {"fullscreen window", 0, (Fl_Callback*)KeyboardUI::cb_fullscreen1, 0, 0, FL_NORMAL_LABEL, 0, 14, 0},
  21. - {"minimize window", 0, (Fl_Callback*)KeyboardUI::cb_minimize1, 0, 0, FL_NORMAL_LABEL, 0, 14, 0},
  22. - {"maximize window", 0, (Fl_Callback*)KeyboardUI::cb_maximize1, 0, 0, FL_NORMAL_LABEL, 0, 14, 0},
  23. - {"roll up window", 0, (Fl_Callback*)KeyboardUI::cb_shade1, 0, 0, FL_NORMAL_LABEL, 0, 14, 0},
  24. - {"move window", 0, (Fl_Callback*)KeyboardUI::cb_move1, 0, 0, FL_NORMAL_LABEL, 0, 14, 0},
  25. - {"resize window", 0, (Fl_Callback*)KeyboardUI::cb_resize1, 0, 0, FL_NORMAL_LABEL, 0, 14, 0},
  26. - {"show window menu", 0, (Fl_Callback*)KeyboardUI::cb_window1, 0, 0, FL_NORMAL_LABEL, 0, 14, 0},
  27. - {"Show Application menu", 0, (Fl_Callback*)KeyboardUI::cb_root_menu_apps1, 0, 0, FL_NORMAL_LABEL, 0, 14, 0},
  28. - {"Show Places Menu", 0, (Fl_Callback*)KeyboardUI::cb_root_menu_places1, 0, 0, FL_NORMAL_LABEL, 0, 14, 0},
  29. - {"Show Shutdown menu", 0, (Fl_Callback*)KeyboardUI::cb_root_menu_shutdown1, 0, 0, FL_NORMAL_LABEL, 0, 14, 0},
  30. - {"move one desktop to the right", 0, (Fl_Callback*)KeyboardUI::cb_rdesktop1, 0, 0, FL_NORMAL_LABEL, 0, 14, 0},
  31. - {"move one desktop to the left", 0, (Fl_Callback*)KeyboardUI::cb_ldesktop1, 0, 0, FL_NORMAL_LABEL, 0, 14, 0},
  32. - {"move one desktop up", 0, (Fl_Callback*)KeyboardUI::cb_udesktop1, 0, 0, FL_NORMAL_LABEL, 0, 14, 0},
  33. - {"move one desktop down", 0, (Fl_Callback*)KeyboardUI::cb_ddesktop1, 0, 0, FL_NORMAL_LABEL, 0, 14, 0},
  34. - {"restart the Window Manager", 0, (Fl_Callback*)KeyboardUI::cb_restart1, 0, 0, FL_NORMAL_LABEL, 0, 14, 0},
  35. - {"exit the Window Manager", 0, (Fl_Callback*)KeyboardUI::cb_exit1, 0, 0, FL_NORMAL_LABEL, 0, 14, 0},
  36. - {"Show any hidden Panels", 0, (Fl_Callback*)KeyboardUI::cb_showtray1, 0, 0, FL_NORMAL_LABEL, 0, 14, 0},
  37. - {"Maximize to the Top of the screen", 0, (Fl_Callback*)KeyboardUI::cb_maxtop1, 0, 0, FL_NORMAL_LABEL, 0, 14, 0},
  38. - {"Maximize to the Bottom of the screen", 0, (Fl_Callback*)KeyboardUI::cb_maxbottom1, 0, 0, FL_NORMAL_LABEL, 0, 14, 0},
  39. - {"Maximize to the Left of the screen", 0, (Fl_Callback*)KeyboardUI::cb_maxleft1, 0, 0, FL_NORMAL_LABEL, 0, 14, 0},
  40. - {"Maximize to the Right of the screen", 0, (Fl_Callback*)KeyboardUI::cb_maxright1, 0, 0, FL_NORMAL_LABEL, 0, 14, 0},
  41. - {"Maximize Vertical", 0, (Fl_Callback*)KeyboardUI::cb_maxv1, 0, 0, FL_NORMAL_LABEL, 0, 14, 0},
  42. - {"Maximize Horizontal", 0, (Fl_Callback*)KeyboardUI::cb_maxh1, 0, 0, FL_NORMAL_LABEL, 0, 14, 0},
  43. - {"Send Window Up a Desktop", 0, (Fl_Callback*)KeyboardUI::cb_sendu1, 0, 0, FL_NORMAL_LABEL, 0, 14, 0},
  44. - {"Send Window Down a Desktop", 0, (Fl_Callback*)KeyboardUI::cb_sendd1, 0, 0, FL_NORMAL_LABEL, 0, 14, 0},
  45. - {"Send Window Right a Desktop", 0, (Fl_Callback*)KeyboardUI::cb_sendr1, 0, 0, FL_NORMAL_LABEL, 0, 14, 0},
  46. - {"Send Window Left a Desktop", 0, (Fl_Callback*)KeyboardUI::cb_sendl1, 0, 0, FL_NORMAL_LABEL, 0, 14, 0},
  47. - {"Restore a minimized window", 0, (Fl_Callback*)KeyboardUI::cb_restore1, 0, 0, FL_NORMAL_LABEL, 0, 14, 0},
  48. + {"move to the next window in the task list", 0, (Fl_Callback*)KeyboardUI::cb_next1, 0, 0, (uchar)FL_NORMAL_LABEL, 0, 14, 0},
  49. + {"move to the next window in the stacking order", 0, (Fl_Callback*)KeyboardUI::cb_nextstacked1, 0, 0, (uchar)FL_NORMAL_LABEL, 0, 14, 0},
  50. + {"move to the previous window in the task list", 0, (Fl_Callback*)KeyboardUI::cb_prev1, 0, 0, (uchar)FL_NORMAL_LABEL, 0, 14, 0},
  51. + {"move to the previous window in the stacking order", 0, (Fl_Callback*)KeyboardUI::cb_prevstacked1, 0, 0, (uchar)FL_NORMAL_LABEL, 0, 14, 0},
  52. + {"close window", 0, (Fl_Callback*)KeyboardUI::cb_close1, 0, 0, (uchar)FL_NORMAL_LABEL, 0, 14, 0},
  53. + {"fullscreen window", 0, (Fl_Callback*)KeyboardUI::cb_fullscreen1, 0, 0, (uchar)FL_NORMAL_LABEL, 0, 14, 0},
  54. + {"minimize window", 0, (Fl_Callback*)KeyboardUI::cb_minimize1, 0, 0, (uchar)FL_NORMAL_LABEL, 0, 14, 0},
  55. + {"maximize window", 0, (Fl_Callback*)KeyboardUI::cb_maximize1, 0, 0, (uchar)FL_NORMAL_LABEL, 0, 14, 0},
  56. + {"roll up window", 0, (Fl_Callback*)KeyboardUI::cb_shade1, 0, 0, (uchar)FL_NORMAL_LABEL, 0, 14, 0},
  57. + {"move window", 0, (Fl_Callback*)KeyboardUI::cb_move1, 0, 0, (uchar)FL_NORMAL_LABEL, 0, 14, 0},
  58. + {"resize window", 0, (Fl_Callback*)KeyboardUI::cb_resize1, 0, 0, (uchar)FL_NORMAL_LABEL, 0, 14, 0},
  59. + {"show window menu", 0, (Fl_Callback*)KeyboardUI::cb_window1, 0, 0, (uchar)FL_NORMAL_LABEL, 0, 14, 0},
  60. + {"Show Application menu", 0, (Fl_Callback*)KeyboardUI::cb_root_menu_apps1, 0, 0, (uchar)FL_NORMAL_LABEL, 0, 14, 0},
  61. + {"Show Places Menu", 0, (Fl_Callback*)KeyboardUI::cb_root_menu_places1, 0, 0, (uchar)FL_NORMAL_LABEL, 0, 14, 0},
  62. + {"Show Shutdown menu", 0, (Fl_Callback*)KeyboardUI::cb_root_menu_shutdown1, 0, 0, (uchar)FL_NORMAL_LABEL, 0, 14, 0},
  63. + {"move one desktop to the right", 0, (Fl_Callback*)KeyboardUI::cb_rdesktop1, 0, 0, (uchar)FL_NORMAL_LABEL, 0, 14, 0},
  64. + {"move one desktop to the left", 0, (Fl_Callback*)KeyboardUI::cb_ldesktop1, 0, 0, (uchar)FL_NORMAL_LABEL, 0, 14, 0},
  65. + {"move one desktop up", 0, (Fl_Callback*)KeyboardUI::cb_udesktop1, 0, 0, (uchar)FL_NORMAL_LABEL, 0, 14, 0},
  66. + {"move one desktop down", 0, (Fl_Callback*)KeyboardUI::cb_ddesktop1, 0, 0, (uchar)FL_NORMAL_LABEL, 0, 14, 0},
  67. + {"restart the Window Manager", 0, (Fl_Callback*)KeyboardUI::cb_restart1, 0, 0, (uchar)FL_NORMAL_LABEL, 0, 14, 0},
  68. + {"exit the Window Manager", 0, (Fl_Callback*)KeyboardUI::cb_exit1, 0, 0, (uchar)FL_NORMAL_LABEL, 0, 14, 0},
  69. + {"Show any hidden Panels", 0, (Fl_Callback*)KeyboardUI::cb_showtray1, 0, 0, (uchar)FL_NORMAL_LABEL, 0, 14, 0},
  70. + {"Maximize to the Top of the screen", 0, (Fl_Callback*)KeyboardUI::cb_maxtop1, 0, 0, (uchar)FL_NORMAL_LABEL, 0, 14, 0},
  71. + {"Maximize to the Bottom of the screen", 0, (Fl_Callback*)KeyboardUI::cb_maxbottom1, 0, 0, (uchar)FL_NORMAL_LABEL, 0, 14, 0},
  72. + {"Maximize to the Left of the screen", 0, (Fl_Callback*)KeyboardUI::cb_maxleft1, 0, 0, (uchar)FL_NORMAL_LABEL, 0, 14, 0},
  73. + {"Maximize to the Right of the screen", 0, (Fl_Callback*)KeyboardUI::cb_maxright1, 0, 0, (uchar)FL_NORMAL_LABEL, 0, 14, 0},
  74. + {"Maximize Vertical", 0, (Fl_Callback*)KeyboardUI::cb_maxv1, 0, 0, (uchar)FL_NORMAL_LABEL, 0, 14, 0},
  75. + {"Maximize Horizontal", 0, (Fl_Callback*)KeyboardUI::cb_maxh1, 0, 0, (uchar)FL_NORMAL_LABEL, 0, 14, 0},
  76. + {"Send Window Up a Desktop", 0, (Fl_Callback*)KeyboardUI::cb_sendu1, 0, 0, (uchar)FL_NORMAL_LABEL, 0, 14, 0},
  77. + {"Send Window Down a Desktop", 0, (Fl_Callback*)KeyboardUI::cb_sendd1, 0, 0, (uchar)FL_NORMAL_LABEL, 0, 14, 0},
  78. + {"Send Window Right a Desktop", 0, (Fl_Callback*)KeyboardUI::cb_sendr1, 0, 0, (uchar)FL_NORMAL_LABEL, 0, 14, 0},
  79. + {"Send Window Left a Desktop", 0, (Fl_Callback*)KeyboardUI::cb_sendl1, 0, 0, (uchar)FL_NORMAL_LABEL, 0, 14, 0},
  80. + {"Restore a minimized window", 0, (Fl_Callback*)KeyboardUI::cb_restore1, 0, 0, (uchar)FL_NORMAL_LABEL, 0, 14, 0},
  81. {0,0,0,0,0,0,0,0,0}
  82. };
  83. Fl_Menu_Item* KeyboardUI::next1 = KeyboardUI::menu_Action + 0;
  84. @@ -613,22 +613,22 @@
  85. unsigned char KeyboardUI::menu_Special_i18n_done = 0;
  86. Fl_Menu_Item KeyboardUI::menu_Special[] = {
  87. - {"XF86Tools", 0, (Fl_Callback*)KeyboardUI::cb_XF86Tools, 0, 0, FL_NORMAL_LABEL, 0, 14, 0},
  88. - {"XF86Search", 0, (Fl_Callback*)KeyboardUI::cb_XF86Search, 0, 0, FL_NORMAL_LABEL, 0, 14, 0},
  89. - {"XF86LaunchA", 0, (Fl_Callback*)KeyboardUI::cb_XF86LaunchA, 0, 0, FL_NORMAL_LABEL, 0, 14, 0},
  90. - {"XF86Explorer", 0, (Fl_Callback*)KeyboardUI::cb_XF86Explorer, 0, 0, FL_NORMAL_LABEL, 0, 14, 0},
  91. - {"XF86Display", 0, (Fl_Callback*)KeyboardUI::cb_XF86Display, 0, 0, FL_NORMAL_LABEL, 0, 14, 0},
  92. - {"XF86PowerOff", 0, (Fl_Callback*)KeyboardUI::cb_XF86PowerOff, 0, 0, FL_NORMAL_LABEL, 0, 14, 0},
  93. - {"XF86AudioMute", 0, (Fl_Callback*)KeyboardUI::cb_XF86AudioMute, 0, 0, FL_NORMAL_LABEL, 0, 14, 0},
  94. - {"XF86AudioRaiseVolume", 0, (Fl_Callback*)KeyboardUI::cb_XF86AudioRaiseVolume, 0, 0, FL_NORMAL_LABEL, 0, 14, 0},
  95. - {"XF86AudioLowerVolume", 0, (Fl_Callback*)KeyboardUI::cb_XF86AudioLowerVolume, 0, 0, FL_NORMAL_LABEL, 0, 14, 0},
  96. - {"XF86MonBrightnessDown", 0, (Fl_Callback*)KeyboardUI::cb_XF86MonBrightnessDown, 0, 0, FL_NORMAL_LABEL, 0, 14, 0},
  97. - {"XF86MonBrightnessUp", 0, (Fl_Callback*)KeyboardUI::cb_XF86MonBrightnessUp, 0, 0, FL_NORMAL_LABEL, 0, 14, 0},
  98. - {"XF86Calculator", 0, (Fl_Callback*)KeyboardUI::cb_XF86Calculator, 0, 0, FL_NORMAL_LABEL, 0, 14, 0},
  99. - {"XF86AudioMicMute", 0, (Fl_Callback*)KeyboardUI::cb_XF86AudioMicMute, 0, 0, FL_NORMAL_LABEL, 0, 14, 0},
  100. - {"XF86HomePage", 0, (Fl_Callback*)KeyboardUI::cb_XF86HomePage, 0, 0, FL_NORMAL_LABEL, 0, 14, 0},
  101. - {"XF86MyComputer", 0, (Fl_Callback*)KeyboardUI::cb_XF86MyComputer, 0, 0, FL_NORMAL_LABEL, 0, 14, 0},
  102. - {"XF86WWW", 0, (Fl_Callback*)KeyboardUI::cb_XF86WWW, 0, 0, FL_NORMAL_LABEL, 0, 14, 0},
  103. + {"XF86Tools", 0, (Fl_Callback*)KeyboardUI::cb_XF86Tools, 0, 0, (uchar)FL_NORMAL_LABEL, 0, 14, 0},
  104. + {"XF86Search", 0, (Fl_Callback*)KeyboardUI::cb_XF86Search, 0, 0, (uchar)FL_NORMAL_LABEL, 0, 14, 0},
  105. + {"XF86LaunchA", 0, (Fl_Callback*)KeyboardUI::cb_XF86LaunchA, 0, 0, (uchar)FL_NORMAL_LABEL, 0, 14, 0},
  106. + {"XF86Explorer", 0, (Fl_Callback*)KeyboardUI::cb_XF86Explorer, 0, 0, (uchar)FL_NORMAL_LABEL, 0, 14, 0},
  107. + {"XF86Display", 0, (Fl_Callback*)KeyboardUI::cb_XF86Display, 0, 0, (uchar)FL_NORMAL_LABEL, 0, 14, 0},
  108. + {"XF86PowerOff", 0, (Fl_Callback*)KeyboardUI::cb_XF86PowerOff, 0, 0, (uchar)FL_NORMAL_LABEL, 0, 14, 0},
  109. + {"XF86AudioMute", 0, (Fl_Callback*)KeyboardUI::cb_XF86AudioMute, 0, 0, (uchar)FL_NORMAL_LABEL, 0, 14, 0},
  110. + {"XF86AudioRaiseVolume", 0, (Fl_Callback*)KeyboardUI::cb_XF86AudioRaiseVolume, 0, 0, (uchar)FL_NORMAL_LABEL, 0, 14, 0},
  111. + {"XF86AudioLowerVolume", 0, (Fl_Callback*)KeyboardUI::cb_XF86AudioLowerVolume, 0, 0, (uchar)FL_NORMAL_LABEL, 0, 14, 0},
  112. + {"XF86MonBrightnessDown", 0, (Fl_Callback*)KeyboardUI::cb_XF86MonBrightnessDown, 0, 0, (uchar)FL_NORMAL_LABEL, 0, 14, 0},
  113. + {"XF86MonBrightnessUp", 0, (Fl_Callback*)KeyboardUI::cb_XF86MonBrightnessUp, 0, 0, (uchar)FL_NORMAL_LABEL, 0, 14, 0},
  114. + {"XF86Calculator", 0, (Fl_Callback*)KeyboardUI::cb_XF86Calculator, 0, 0, (uchar)FL_NORMAL_LABEL, 0, 14, 0},
  115. + {"XF86AudioMicMute", 0, (Fl_Callback*)KeyboardUI::cb_XF86AudioMicMute, 0, 0, (uchar)FL_NORMAL_LABEL, 0, 14, 0},
  116. + {"XF86HomePage", 0, (Fl_Callback*)KeyboardUI::cb_XF86HomePage, 0, 0, (uchar)FL_NORMAL_LABEL, 0, 14, 0},
  117. + {"XF86MyComputer", 0, (Fl_Callback*)KeyboardUI::cb_XF86MyComputer, 0, 0, (uchar)FL_NORMAL_LABEL, 0, 14, 0},
  118. + {"XF86WWW", 0, (Fl_Callback*)KeyboardUI::cb_XF86WWW, 0, 0, (uchar)FL_NORMAL_LABEL, 0, 14, 0},
  119. {0,0,0,0,0,0,0,0,0}
  120. };
  121. @@ -962,39 +962,39 @@
  122. unsigned char KeyboardUI::menu_Action1_i18n_done = 0;
  123. Fl_Menu_Item KeyboardUI::menu_Action1[] = {
  124. - {"move to the next window in the task list", 0, (Fl_Callback*)KeyboardUI::cb_next, 0, 0, FL_NORMAL_LABEL, 0, 14, 0},
  125. - {"move to the next window in the stacking order", 0, (Fl_Callback*)KeyboardUI::cb_nextstacked, 0, 0, FL_NORMAL_LABEL, 0, 14, 0},
  126. - {"move to the previous window in the task list", 0, (Fl_Callback*)KeyboardUI::cb_prev, 0, 0, FL_NORMAL_LABEL, 0, 14, 0},
  127. - {"move to the previous window in the stacking order", 0, (Fl_Callback*)KeyboardUI::cb_prevstacked, 0, 0, FL_NORMAL_LABEL, 0, 14, 0},
  128. - {"close window", 0, (Fl_Callback*)KeyboardUI::cb_close, 0, 0, FL_NORMAL_LABEL, 0, 14, 0},
  129. - {"fullscreen window", 0, (Fl_Callback*)KeyboardUI::cb_fullscreen, 0, 0, FL_NORMAL_LABEL, 0, 14, 0},
  130. - {"minimize window", 0, (Fl_Callback*)KeyboardUI::cb_minimize, 0, 0, FL_NORMAL_LABEL, 0, 14, 0},
  131. - {"maximize window", 0, (Fl_Callback*)KeyboardUI::cb_maximize, 0, 0, FL_NORMAL_LABEL, 0, 14, 0},
  132. - {"roll up window", 0, (Fl_Callback*)KeyboardUI::cb_shade, 0, 0, FL_NORMAL_LABEL, 0, 14, 0},
  133. - {"move window", 0, (Fl_Callback*)KeyboardUI::cb_move, 0, 0, FL_NORMAL_LABEL, 0, 14, 0},
  134. - {"resize window", 0, (Fl_Callback*)KeyboardUI::cb_resize, 0, 0, FL_NORMAL_LABEL, 0, 14, 0},
  135. - {"show window menu", 0, (Fl_Callback*)KeyboardUI::cb_window, 0, 0, FL_NORMAL_LABEL, 0, 14, 0},
  136. - {"Show Application menu", 0, (Fl_Callback*)KeyboardUI::cb_root_menu_apps, 0, 0, FL_NORMAL_LABEL, 0, 14, 0},
  137. - {"Show Places Menu", 0, (Fl_Callback*)KeyboardUI::cb_root_menu_places, 0, 0, FL_NORMAL_LABEL, 0, 14, 0},
  138. - {"Show Shutdown menu", 0, (Fl_Callback*)KeyboardUI::cb_root_menu_shutdown, 0, 0, FL_NORMAL_LABEL, 0, 14, 0},
  139. - {"move one desktop to the right", 0, (Fl_Callback*)KeyboardUI::cb_rdesktop, 0, 0, FL_NORMAL_LABEL, 0, 14, 0},
  140. - {"move one desktop to the left", 0, (Fl_Callback*)KeyboardUI::cb_ldesktop, 0, 0, FL_NORMAL_LABEL, 0, 14, 0},
  141. - {"move one desktop up", 0, (Fl_Callback*)KeyboardUI::cb_udesktop, 0, 0, FL_NORMAL_LABEL, 0, 14, 0},
  142. - {"move one desktop down", 0, (Fl_Callback*)KeyboardUI::cb_ddesktop, 0, 0, FL_NORMAL_LABEL, 0, 14, 0},
  143. - {"restart the Window Manager", 0, (Fl_Callback*)KeyboardUI::cb_restart, 0, 0, FL_NORMAL_LABEL, 0, 14, 0},
  144. - {"exit the Window Manager", 0, (Fl_Callback*)KeyboardUI::cb_exit, 0, 0, FL_NORMAL_LABEL, 0, 14, 0},
  145. - {"Show any hidden Panels", 0, (Fl_Callback*)KeyboardUI::cb_showtray, 0, 0, FL_NORMAL_LABEL, 0, 14, 0},
  146. - {"Maximize to the Top of the screen", 0, (Fl_Callback*)KeyboardUI::cb_maxtop, 0, 0, FL_NORMAL_LABEL, 0, 14, 0},
  147. - {"Maximize to the Bottom of the screen", 0, (Fl_Callback*)KeyboardUI::cb_maxbottom, 0, 0, FL_NORMAL_LABEL, 0, 14, 0},
  148. - {"Maximize to the Left of the screen", 0, (Fl_Callback*)KeyboardUI::cb_maxleft, 0, 0, FL_NORMAL_LABEL, 0, 14, 0},
  149. - {"Maximize to the Right of the screen", 0, (Fl_Callback*)KeyboardUI::cb_maxright, 0, 0, FL_NORMAL_LABEL, 0, 14, 0},
  150. - {"Maximize Vertical", 0, (Fl_Callback*)KeyboardUI::cb_maxv, 0, 0, FL_NORMAL_LABEL, 0, 14, 0},
  151. - {"Maximize Horizontal", 0, (Fl_Callback*)KeyboardUI::cb_maxh, 0, 0, FL_NORMAL_LABEL, 0, 14, 0},
  152. - {"Send Window Up a Desktop", 0, (Fl_Callback*)KeyboardUI::cb_sendu, 0, 0, FL_NORMAL_LABEL, 0, 14, 0},
  153. - {"Send Window Down a Desktop", 0, (Fl_Callback*)KeyboardUI::cb_sendd, 0, 0, FL_NORMAL_LABEL, 0, 14, 0},
  154. - {"Send Window Right a Desktop", 0, (Fl_Callback*)KeyboardUI::cb_sendr, 0, 0, FL_NORMAL_LABEL, 0, 14, 0},
  155. - {"Send Window Left a Desktop", 0, (Fl_Callback*)KeyboardUI::cb_sendl, 0, 0, FL_NORMAL_LABEL, 0, 14, 0},
  156. - {"Restore a minimized window", 0, (Fl_Callback*)KeyboardUI::cb_restore, 0, 0, FL_NORMAL_LABEL, 0, 14, 0},
  157. + {"move to the next window in the task list", 0, (Fl_Callback*)KeyboardUI::cb_next, 0, 0, (uchar)FL_NORMAL_LABEL, 0, 14, 0},
  158. + {"move to the next window in the stacking order", 0, (Fl_Callback*)KeyboardUI::cb_nextstacked, 0, 0, (uchar)FL_NORMAL_LABEL, 0, 14, 0},
  159. + {"move to the previous window in the task list", 0, (Fl_Callback*)KeyboardUI::cb_prev, 0, 0, (uchar)FL_NORMAL_LABEL, 0, 14, 0},
  160. + {"move to the previous window in the stacking order", 0, (Fl_Callback*)KeyboardUI::cb_prevstacked, 0, 0, (uchar)FL_NORMAL_LABEL, 0, 14, 0},
  161. + {"close window", 0, (Fl_Callback*)KeyboardUI::cb_close, 0, 0, (uchar)FL_NORMAL_LABEL, 0, 14, 0},
  162. + {"fullscreen window", 0, (Fl_Callback*)KeyboardUI::cb_fullscreen, 0, 0, (uchar)FL_NORMAL_LABEL, 0, 14, 0},
  163. + {"minimize window", 0, (Fl_Callback*)KeyboardUI::cb_minimize, 0, 0, (uchar)FL_NORMAL_LABEL, 0, 14, 0},
  164. + {"maximize window", 0, (Fl_Callback*)KeyboardUI::cb_maximize, 0, 0, (uchar)FL_NORMAL_LABEL, 0, 14, 0},
  165. + {"roll up window", 0, (Fl_Callback*)KeyboardUI::cb_shade, 0, 0, (uchar)FL_NORMAL_LABEL, 0, 14, 0},
  166. + {"move window", 0, (Fl_Callback*)KeyboardUI::cb_move, 0, 0, (uchar)FL_NORMAL_LABEL, 0, 14, 0},
  167. + {"resize window", 0, (Fl_Callback*)KeyboardUI::cb_resize, 0, 0, (uchar)FL_NORMAL_LABEL, 0, 14, 0},
  168. + {"show window menu", 0, (Fl_Callback*)KeyboardUI::cb_window, 0, 0, (uchar)FL_NORMAL_LABEL, 0, 14, 0},
  169. + {"Show Application menu", 0, (Fl_Callback*)KeyboardUI::cb_root_menu_apps, 0, 0, (uchar)FL_NORMAL_LABEL, 0, 14, 0},
  170. + {"Show Places Menu", 0, (Fl_Callback*)KeyboardUI::cb_root_menu_places, 0, 0, (uchar)FL_NORMAL_LABEL, 0, 14, 0},
  171. + {"Show Shutdown menu", 0, (Fl_Callback*)KeyboardUI::cb_root_menu_shutdown, 0, 0, (uchar)FL_NORMAL_LABEL, 0, 14, 0},
  172. + {"move one desktop to the right", 0, (Fl_Callback*)KeyboardUI::cb_rdesktop, 0, 0, (uchar)FL_NORMAL_LABEL, 0, 14, 0},
  173. + {"move one desktop to the left", 0, (Fl_Callback*)KeyboardUI::cb_ldesktop, 0, 0, (uchar)FL_NORMAL_LABEL, 0, 14, 0},
  174. + {"move one desktop up", 0, (Fl_Callback*)KeyboardUI::cb_udesktop, 0, 0, (uchar)FL_NORMAL_LABEL, 0, 14, 0},
  175. + {"move one desktop down", 0, (Fl_Callback*)KeyboardUI::cb_ddesktop, 0, 0, (uchar)FL_NORMAL_LABEL, 0, 14, 0},
  176. + {"restart the Window Manager", 0, (Fl_Callback*)KeyboardUI::cb_restart, 0, 0, (uchar)FL_NORMAL_LABEL, 0, 14, 0},
  177. + {"exit the Window Manager", 0, (Fl_Callback*)KeyboardUI::cb_exit, 0, 0, (uchar)FL_NORMAL_LABEL, 0, 14, 0},
  178. + {"Show any hidden Panels", 0, (Fl_Callback*)KeyboardUI::cb_showtray, 0, 0, (uchar)FL_NORMAL_LABEL, 0, 14, 0},
  179. + {"Maximize to the Top of the screen", 0, (Fl_Callback*)KeyboardUI::cb_maxtop, 0, 0, (uchar)FL_NORMAL_LABEL, 0, 14, 0},
  180. + {"Maximize to the Bottom of the screen", 0, (Fl_Callback*)KeyboardUI::cb_maxbottom, 0, 0, (uchar)FL_NORMAL_LABEL, 0, 14, 0},
  181. + {"Maximize to the Left of the screen", 0, (Fl_Callback*)KeyboardUI::cb_maxleft, 0, 0, (uchar)FL_NORMAL_LABEL, 0, 14, 0},
  182. + {"Maximize to the Right of the screen", 0, (Fl_Callback*)KeyboardUI::cb_maxright, 0, 0, (uchar)FL_NORMAL_LABEL, 0, 14, 0},
  183. + {"Maximize Vertical", 0, (Fl_Callback*)KeyboardUI::cb_maxv, 0, 0, (uchar)FL_NORMAL_LABEL, 0, 14, 0},
  184. + {"Maximize Horizontal", 0, (Fl_Callback*)KeyboardUI::cb_maxh, 0, 0, (uchar)FL_NORMAL_LABEL, 0, 14, 0},
  185. + {"Send Window Up a Desktop", 0, (Fl_Callback*)KeyboardUI::cb_sendu, 0, 0, (uchar)FL_NORMAL_LABEL, 0, 14, 0},
  186. + {"Send Window Down a Desktop", 0, (Fl_Callback*)KeyboardUI::cb_sendd, 0, 0, (uchar)FL_NORMAL_LABEL, 0, 14, 0},
  187. + {"Send Window Right a Desktop", 0, (Fl_Callback*)KeyboardUI::cb_sendr, 0, 0, (uchar)FL_NORMAL_LABEL, 0, 14, 0},
  188. + {"Send Window Left a Desktop", 0, (Fl_Callback*)KeyboardUI::cb_sendl, 0, 0, (uchar)FL_NORMAL_LABEL, 0, 14, 0},
  189. + {"Restore a minimized window", 0, (Fl_Callback*)KeyboardUI::cb_restore, 0, 0, (uchar)FL_NORMAL_LABEL, 0, 14, 0},
  190. {0,0,0,0,0,0,0,0,0}
  191. };
  192. Fl_Menu_Item* KeyboardUI::next = KeyboardUI::menu_Action1 + 0;
  193. @@ -1167,22 +1167,22 @@
  194. unsigned char KeyboardUI::menu_Special1_i18n_done = 0;
  195. Fl_Menu_Item KeyboardUI::menu_Special1[] = {
  196. - {"XF86Tools", 0, (Fl_Callback*)KeyboardUI::cb_XF86Tools1, 0, 0, FL_NORMAL_LABEL, 0, 14, 0},
  197. - {"XF86Search", 0, (Fl_Callback*)KeyboardUI::cb_XF86Search1, 0, 0, FL_NORMAL_LABEL, 0, 14, 0},
  198. - {"XF86LaunchA", 0, (Fl_Callback*)KeyboardUI::cb_XF86LaunchA1, 0, 0, FL_NORMAL_LABEL, 0, 14, 0},
  199. - {"XF86Explorer", 0, (Fl_Callback*)KeyboardUI::cb_XF86Explorer1, 0, 0, FL_NORMAL_LABEL, 0, 14, 0},
  200. - {"XF86Display", 0, (Fl_Callback*)KeyboardUI::cb_XF86Display1, 0, 0, FL_NORMAL_LABEL, 0, 14, 0},
  201. - {"XF86PowerOff", 0, (Fl_Callback*)KeyboardUI::cb_XF86PowerOff1, 0, 0, FL_NORMAL_LABEL, 0, 14, 0},
  202. - {"XF86AudioMute", 0, (Fl_Callback*)KeyboardUI::cb_XF86AudioMute1, 0, 0, FL_NORMAL_LABEL, 0, 14, 0},
  203. - {"XF86AudioRaiseVolume", 0, (Fl_Callback*)KeyboardUI::cb_XF86AudioRaiseVolume1, 0, 0, FL_NORMAL_LABEL, 0, 14, 0},
  204. - {"XF86AudioLowerVolume", 0, (Fl_Callback*)KeyboardUI::cb_XF86AudioLowerVolume1, 0, 0, FL_NORMAL_LABEL, 0, 14, 0},
  205. - {"XF86MonBrightnessDown", 0, (Fl_Callback*)KeyboardUI::cb_XF86MonBrightnessDown1, 0, 0, FL_NORMAL_LABEL, 0, 14, 0},
  206. - {"XF86MonBrightnessUp", 0, (Fl_Callback*)KeyboardUI::cb_XF86MonBrightnessUp1, 0, 0, FL_NORMAL_LABEL, 0, 14, 0},
  207. - {"XF86Calculator", 0, (Fl_Callback*)KeyboardUI::cb_XF86Calculator1, 0, 0, FL_NORMAL_LABEL, 0, 14, 0},
  208. - {"XF86AudioMicMute", 0, (Fl_Callback*)KeyboardUI::cb_XF86AudioMicMute1, 0, 0, FL_NORMAL_LABEL, 0, 14, 0},
  209. - {"XF86HomePage", 0, (Fl_Callback*)KeyboardUI::cb_XF86HomePage1, 0, 0, FL_NORMAL_LABEL, 0, 14, 0},
  210. - {"XF86MyComputer", 0, (Fl_Callback*)KeyboardUI::cb_XF86MyComputer1, 0, 0, FL_NORMAL_LABEL, 0, 14, 0},
  211. - {"XF86WWW", 0, (Fl_Callback*)KeyboardUI::cb_XF86WWW1, 0, 0, FL_NORMAL_LABEL, 0, 14, 0},
  212. + {"XF86Tools", 0, (Fl_Callback*)KeyboardUI::cb_XF86Tools1, 0, 0, (uchar)FL_NORMAL_LABEL, 0, 14, 0},
  213. + {"XF86Search", 0, (Fl_Callback*)KeyboardUI::cb_XF86Search1, 0, 0, (uchar)FL_NORMAL_LABEL, 0, 14, 0},
  214. + {"XF86LaunchA", 0, (Fl_Callback*)KeyboardUI::cb_XF86LaunchA1, 0, 0, (uchar)FL_NORMAL_LABEL, 0, 14, 0},
  215. + {"XF86Explorer", 0, (Fl_Callback*)KeyboardUI::cb_XF86Explorer1, 0, 0, (uchar)FL_NORMAL_LABEL, 0, 14, 0},
  216. + {"XF86Display", 0, (Fl_Callback*)KeyboardUI::cb_XF86Display1, 0, 0, (uchar)FL_NORMAL_LABEL, 0, 14, 0},
  217. + {"XF86PowerOff", 0, (Fl_Callback*)KeyboardUI::cb_XF86PowerOff1, 0, 0, (uchar)FL_NORMAL_LABEL, 0, 14, 0},
  218. + {"XF86AudioMute", 0, (Fl_Callback*)KeyboardUI::cb_XF86AudioMute1, 0, 0, (uchar)FL_NORMAL_LABEL, 0, 14, 0},
  219. + {"XF86AudioRaiseVolume", 0, (Fl_Callback*)KeyboardUI::cb_XF86AudioRaiseVolume1, 0, 0, (uchar)FL_NORMAL_LABEL, 0, 14, 0},
  220. + {"XF86AudioLowerVolume", 0, (Fl_Callback*)KeyboardUI::cb_XF86AudioLowerVolume1, 0, 0, (uchar)FL_NORMAL_LABEL, 0, 14, 0},
  221. + {"XF86MonBrightnessDown", 0, (Fl_Callback*)KeyboardUI::cb_XF86MonBrightnessDown1, 0, 0, (uchar)FL_NORMAL_LABEL, 0, 14, 0},
  222. + {"XF86MonBrightnessUp", 0, (Fl_Callback*)KeyboardUI::cb_XF86MonBrightnessUp1, 0, 0, (uchar)FL_NORMAL_LABEL, 0, 14, 0},
  223. + {"XF86Calculator", 0, (Fl_Callback*)KeyboardUI::cb_XF86Calculator1, 0, 0, (uchar)FL_NORMAL_LABEL, 0, 14, 0},
  224. + {"XF86AudioMicMute", 0, (Fl_Callback*)KeyboardUI::cb_XF86AudioMicMute1, 0, 0, (uchar)FL_NORMAL_LABEL, 0, 14, 0},
  225. + {"XF86HomePage", 0, (Fl_Callback*)KeyboardUI::cb_XF86HomePage1, 0, 0, (uchar)FL_NORMAL_LABEL, 0, 14, 0},
  226. + {"XF86MyComputer", 0, (Fl_Callback*)KeyboardUI::cb_XF86MyComputer1, 0, 0, (uchar)FL_NORMAL_LABEL, 0, 14, 0},
  227. + {"XF86WWW", 0, (Fl_Callback*)KeyboardUI::cb_XF86WWW1, 0, 0, (uchar)FL_NORMAL_LABEL, 0, 14, 0},
  228. {0,0,0,0,0,0,0,0,0}
  229. };
  230. @@ -1308,7 +1308,10 @@
  231. 149,0,255,0,255,0,255,0,255,0,147,0,2,0,0,0,20,0,46,0,2,0,0,0,0,0,0,0,0,0,0,0,0,
  232. 0,0,0,0,0,0,0,0,0,0,0,0,0,2,0,148,0,255,0,252,0,252,0,255,0,146,0,2,0,0,0,0,0,
  233. 0,0,0,0,0,0,0,0,0,0,0};
  234. -static Fl_RGB_Image image_gear16(idata_gear16, 24, 24, 2, 0);
  235. +static Fl_Image *image_gear16() {
  236. + static Fl_Image *image = new Fl_RGB_Image(idata_gear16, 24, 24, 2, 0);
  237. + return image;
  238. +}
  239. void KeyboardUI::cb_Layout1_i(Fl_Button*, void*) {
  240. layout_window()->show();
  241. @@ -1429,7 +1432,7 @@
  242. } // Fl_Menu_Button* o
  243. debug_out("config_key_win()->show()");
  244. startup(o,jsm_keyboard_xpm);
  245. - o->wait_for_expose();
  246. + o->wait_for_expose(); #endif
  247. conf_key_win->xclass("jsm-keyboard");
  248. conf_key_win->end();
  249. } // Fl_Double_Window* conf_key_win
  250. @@ -1636,14 +1639,14 @@
  251. { Fl_Button* o = new Fl_Button(100, 260, 30, 30);
  252. o->box(FL_FLAT_BOX);
  253. o->color((Fl_Color)23);
  254. - o->image(image_gear16);
  255. + o->image( image_gear16() );
  256. o->labelfont(1);
  257. o->callback((Fl_Callback*)cb_2);
  258. } // Fl_Button* o
  259. { Fl_Button* o = new Fl_Button(185, 260, 100, 30, gettext("Layout"));
  260. o->box(FL_FLAT_BOX);
  261. o->color((Fl_Color)23);
  262. - o->image(image_gear16);
  263. + o->image( image_gear16() );
  264. o->labelfont(1);
  265. o->callback((Fl_Callback*)cb_Layout1);
  266. o->align(Fl_Align(256));
  267. === modified file 'fltk/jwm-keyboard.fld'
  268. --- fltk/jwm-keyboard.fld 2018-10-03 19:59:48 +0000
  269. +++ fltk/jwm-keyboard.fld 2018-11-06 13:57:39 +0000
  270. @@ -1,9 +1,9 @@
  271. # data file for the Fltk User Interface Designer (fluid)
  272. -version 1.0303
  273. -i18n_type 1
  274. -i18n_include <libintl.h>
  275. -i18n_function gettext
  276. -header_name {.h}
  277. +version 1.0304
  278. +i18n_type 1
  279. +i18n_include <libintl.h>
  280. +i18n_function gettext
  281. +header_name {.h}
  282. code_name {.cxx}
  283. comment {/* Joe's Window Manager Configuration
  284. *
  285. @@ -28,34 +28,34 @@
  286. * You may redistribute this, but you must keep this comment in place
  287. * Jesus is my Lord, and if you don't like it feel free to ignore it.
  288. */} {in_source in_header
  289. -}
  290. +}
  291. decl {\#include <libintl.h>} {public global
  292. -}
  293. +}
  294. decl {\#include <FL/Fl_File_Chooser.H>} {public global
  295. -}
  296. +}
  297. decl {\#include <string>} {public global
  298. -}
  299. +}
  300. decl {\#include <stdlib.h>} {public global
  301. -}
  302. +}
  303. decl {\#include <iostream>} {public global
  304. -}
  305. +}
  306. decl {\#include "../include/jwmrc.hpp"} {public global
  307. -}
  308. +}
  309. decl {\#include "../include/ui.hpp"} {public global
  310. -}
  311. +}
  312. decl {\#include "../include/keyboard.hpp"} {public global
  313. -}
  314. +}
  315. decl {\#include "../data/icons/jsm-keyboard.xpm"} {public global
  316. -}
  317. +}
  318. decl {struct keycode_table{int n; const char* text;} table[] = {
  319. {FL_Escape, "Escape"},
  320. @@ -104,7 +104,7 @@
  321. {FL_Sleep,"XF86Standby"},
  322. {FL_Favorites,"XF86Favorites"}
  323. };} {private global
  324. -}
  325. +}
  326. class KeyboardUI {open : {public JWM_Keyboard}
  327. } {
  328. @@ -113,11 +113,12 @@
  329. Function {config_key_win()} {open
  330. } {
  331. Fl_Window conf_key_win {
  332. - label {Configure Keyboard Shortcut} open
  333. + label {Configure Keyboard Shortcut} open selected
  334. xywh {895 387 355 180} type Double
  335. code0 {debug_out("config_key_win()->show()");}
  336. code1 {startup(o,jsm_keyboard_xpm);}
  337. - code2 {o->wait_for_expose();} xclass {jsm-keyboard} visible
  338. + code2 {\#if FL_PATCH_VERSION == 4}
  339. + code3 {o->wait_for_expose(); \#endif} xclass {jsm-keyboard} visible
  340. } {
  341. Fl_Button {} {
  342. label OK
  343. @@ -985,14 +986,14 @@
  344. //Fl::add_handler(handle);} {}
  345. Fl_Window keyboard_window {
  346. label {Keyboard Settings} open
  347. - xywh {882 85 480 295} type Double color 31 resizable
  348. - code0 {startup(o,jsm_keyboard_xpm);} xclass {jsm-keyboard} visible
  349. + xywh {882 85 480 295} type Double color 31 hide resizable
  350. + code0 {startup(o,jsm_keyboard_xpm);} xclass {jsm-keyboard}
  351. } {
  352. Fl_Scroll {} {open
  353. xywh {0 0 490 310} color 31 resizable
  354. } {
  355. Fl_Browser key_browser {
  356. - label {Keyboard Shortcuts} selected
  357. + label {Keyboard Shortcuts}
  358. xywh {5 20 470 235} type Hold box FLAT_BOX selection_color 80 labelfont 1 align 1
  359. code1 {static int widths[] = {50,175,105,0};o->column_widths(widths);}
  360. code2 {o->column_char(DELIM);}
  361. @@ -1089,7 +1090,7 @@
  362. o->redraw();
  363. }} {}
  364. }
  365. -}
  366. +}
  367. Function {handle(int e)} {open return_type int
  368. } {
  369. @@ -1099,4 +1100,4 @@
  370. return 1;
  371. }
  372. return (e == FL_SHORTCUT);} {}
  373. -}
  374. +}
  375. === modified file 'fltk/jwm-keyboard.h'
  376. --- fltk/jwm-keyboard.h 2018-01-16 14:17:27 +0000
  377. +++ fltk/jwm-keyboard.h 2018-11-06 13:57:39 +0000
  378. @@ -21,7 +21,7 @@
  379. * You may redistribute this, but you must keep this comment in place
  380. * Jesus is my Lord, and if you don't like it feel free to ignore it.
  381. */
  382. -// generated by Fast Light User Interface Designer (fluid) version 1.0303
  383. +// generated by Fast Light User Interface Designer (fluid) version 1.0304
  384. #ifndef jwm_keyboard_h
  385. #define jwm_keyboard_h
  386. @@ -36,6 +36,7 @@
  387. #include "../include/keyboard.hpp"
  388. #include "../data/icons/jsm-keyboard.xpm"
  389. #include <FL/Fl_Double_Window.H>
  390. +#if FL_PATCH_VERSION == 4
  391. #include <FL/Fl_Button.H>
  392. #include <FL/Fl_Menu_Button.H>
  393. #include <FL/Fl_Input.H>