Ticket #42317: patch-libcpp.diff
File patch-libcpp.diff, 3.6 KB (added by florian@…, 9 years ago) |
---|
-
src/fluxbox.cc
old new 1355 1355 FocusControl::setFocusedWindow(0); 1356 1356 } 1357 1357 1358 bool Fluxbox::validateClient( constWinClient *client) const {1358 bool Fluxbox::validateClient(WinClient *client) const { 1359 1359 WinClientMap::const_iterator it = 1360 1360 find_if(m_window_search.begin(), 1361 1361 m_window_search.end(), -
src/fluxbox.hh
old new 88 88 /// main event loop 89 89 void eventLoop(); 90 90 bool validateWindow(Window win) const; 91 bool validateClient( constWinClient *client) const;91 bool validateClient(WinClient *client) const; 92 92 93 93 void grab(); 94 94 void ungrab(); -
util/fbsetbg
old new 49 49 50 50 51 51 WHOAMI=`whoami` 52 [ "$WHOAMI" = root ] && PATH=/bin:/usr/bin/:/usr/local/bin:/usr/X11R6/bin 52 [ "$WHOAMI" = root ] && PATH=/bin:/usr/bin/:/usr/local/bin:/usr/X11R6/bin && . @PREFIX@/bin/init.sh 53 53 54 54 command="`basename \"$0\"`" 55 55 -
util/fluxbox-generate_menu.in
old new 275 275 # echo -n "for $temp_icon" 276 276 eval doSearchLoop $USER_ICONPATHS \ 277 277 "$FB_ICONDIR" \ 278 "@PREFIX@/share/${execname%% *}" \ 278 279 "/usr/share/${execname%% *}" \ 279 280 ${OTHER_ICONPATHS} \ 280 281 … … 558 559 559 560 560 561 WHOAMI=`whoami` 561 [ "$WHOAMI" = root ] && PATH=/bin:/usr/bin:/usr/local/bin:/usr/X11R6/bin 562 [ "$WHOAMI" = root ] && PATH=/bin:/usr/bin:/usr/local/bin:/usr/X11R6/bin && . @PREFIX@/bin/init.sh 562 563 563 564 # Check for Imlib2-support 564 565 if @pkgprefix@fluxbox@pkgsuffix@@EXEEXT@ -info 2> /dev/null | grep -q "^IMLIB"; then … … 1327 1328 -g) GNOMEMENU=yes; shift;; 1328 1329 -in) NO_ICON=yes; shift;; 1329 1330 -is) OTHER_ICONPATHS=" 1331 @PREFIX@/share/icons, 1332 @PREFIX@/share/pixmaps, 1333 @PREFIX@/share/icons/default/16x16, 1334 @PREFIX@/share/icons/kde/16x16, 1335 @PREFIX@/share/icons/default.kde/16x16, 1336 @PREFIX@/share/icons/gnome/16x16, 1337 @PREFIX@/share/icons/hicolor/16x16, 1338 @PREFIX@/share/icons/locolor/16x16, 1330 1339 /usr/share/icons 1331 1340 /usr/share/icons/mini 1332 1341 /usr/share/pixmaps … … 1346 1355 " 1347 1356 shift;; 1348 1357 -ds) OTHER_DESKTOP_PATHS=" 1349 /usr/share/mimelnk1350 /usr/share/applications1351 /usr/share/xsessions1352 /usr/share/services1358 @PREFIX@/share/mimelnk 1359 @PREFIX@/share/applications 1360 @PREFIX@/share/xsessions 1361 @PREFIX@/share/services 1353 1362 " 1354 1363 # /usr/share/apps \ 1355 1364 shift;; … … 1426 1435 1427 1436 1428 1437 # gnome prefix 1429 for GNOME_PREFIX in "${GNOME_PREFIX}" /usr/local /usr/X11R6 /usr /opt "${PREFIX}"; do1438 for GNOME_PREFIX in "${GNOME_PREFIX}" @PREFIX@ /usr/local /usr/X11R6 /usr /opt "${PREFIX}"; do 1430 1439 if [ -n "${GNOME_PREFIX}" -a -d "$GNOME_PREFIX/share/gnome" ]; then 1431 1440 break; 1432 1441 fi … … 1434 1443 # Will remain $PREFIX if all else fails 1435 1444 1436 1445 # kde prefix 1437 for KDE_PREFIX in "${KDE_PREFIX}" /usr/local /usr/X11R6 /usr /opt "${PREFIX}"; do1446 for KDE_PREFIX in "${KDE_PREFIX}" @PREFIX@ /usr/local /usr/X11R6 /usr /opt "${PREFIX}"; do 1438 1447 if [ -n "${KDE_PREFIX}" -a -d "$KDE_PREFIX/share/applnk" ]; then 1439 1448 break; 1440 1449 fi