mirror of
https://github.com/brl/mutter.git
synced 2024-12-23 03:22:04 +00:00
add bad hack to work with GTK 1.3.9.90 RPMs from gnomehide for now
2001-10-13 Havoc Pennington <hp@redhat.com> * configure.in: add bad hack to work with GTK 1.3.9.90 RPMs from gnomehide for now * src/ui.c: another piece of bad hack in here
This commit is contained in:
parent
cfd3cdd64e
commit
e8bc8e95e2
@ -1,3 +1,10 @@
|
||||
2001-10-13 Havoc Pennington <hp@redhat.com>
|
||||
|
||||
* configure.in: add bad hack to work with GTK 1.3.9.90 RPMs from
|
||||
gnomehide for now
|
||||
|
||||
* src/ui.c: another piece of bad hack in here
|
||||
|
||||
2001-10-13 Havoc Pennington <hp@redhat.com>
|
||||
|
||||
* configure.in: bump version
|
||||
|
25
README
25
README
@ -9,24 +9,24 @@ your petty hangups about version numbers.
|
||||
COMPILING METACITY
|
||||
===
|
||||
|
||||
You need GTK+ 1.3.x (to become 2.0), at least version 1.3.7. At the
|
||||
You need GTK+ 1.3.x (to become 2.0), at least version 1.3.9. At the
|
||||
moment CVS HEAD works, but that can change. Metacity is a fairly
|
||||
trivial 6000-line C program, so once you get GTK+ built it should be
|
||||
no problem to build Metacity.
|
||||
|
||||
There are SRPMs on the ftp site (there were also binaries for a bit,
|
||||
but I am taking them down because they only worked with Rawhide, so it
|
||||
was sort of pointless). Just "rpm --rebuild metacity-whatever.src.rpm"
|
||||
after installing the GTK packages from ftp.gtk.org.
|
||||
There are SRPMs and sometimes RPMs on the ftp site, but you'd be
|
||||
pretty lucky to get them to work for now, since they are often out of
|
||||
sync with GTK. You might try with the GTK from ftp.gtk.org, and also
|
||||
the GTK from http://people.redhat.com/hp/gnomehide/.
|
||||
|
||||
REPORTING BUGS AND SUBMITTING PATCHES
|
||||
===
|
||||
|
||||
Report new bugs to hp@redhat.com for now. Will switch to Bugzilla
|
||||
sometime probably.
|
||||
Report new bugs on http://bugzilla.gnome.org.
|
||||
|
||||
Feel free to send patches too; Metacity is really small and simple, so
|
||||
if you find a bug or want to add a feature it should be pretty easy.
|
||||
Send me mail, or put the patch in bugzilla.
|
||||
|
||||
See the HACKING file for some notes on hacking Metacity.
|
||||
|
||||
@ -151,6 +151,8 @@ METACITY BUGS, NON-FEATURES, AND CAVEATS
|
||||
clicking the minimize button is sort of a bad idea.
|
||||
(If you had a WM-spec-compliant tasklist, it would work
|
||||
for unminimization.)
|
||||
(Update: you can use "test-wnck" from the libwnck CVS module to
|
||||
unminimize, but it's not much of a UI ;-)
|
||||
|
||||
- Metacity uses the new window manager spec, but only random bits of
|
||||
the old GNOME spec. It correctly advertises exactly which parts of
|
||||
@ -170,14 +172,7 @@ METACITY BUGS, NON-FEATURES, AND CAVEATS
|
||||
instead of Alt as the main keybinding shortcut, if super/hyper
|
||||
exist, and then keyboards with a windows key can use that for
|
||||
WM functions and Alt for application shortcuts.
|
||||
We'd fall back to Alt if no other suitable modifier existed.
|
||||
|
||||
- Cycling windows with Alt-Tab is flickery, AFAIK because
|
||||
Metacity passes the entire window stack to XRestackWindows()
|
||||
every time you restack. Instead it should probably only restack
|
||||
windows that have changed their stacking with respect to one
|
||||
another. (But sometimes I don't see the flicker, so
|
||||
I'm not sure.)
|
||||
We'd fall back to Alt if no other suitable modifier existed.
|
||||
|
||||
- I haven't even read the ICCCM section about colormaps. So if you
|
||||
have an 8-bit display you are basically screwed.
|
||||
|
@ -41,7 +41,7 @@ ALL_LINGUAS="sv"
|
||||
dnl AM_GNU_GETTEXT
|
||||
|
||||
## here we get the flags we'll actually use
|
||||
PKG_CHECK_MODULES(METACITY, gtk+-2.0 >= 1.3.7)
|
||||
PKG_CHECK_MODULES(METACITY, gtk+-2.0 >= 1.3.9)
|
||||
|
||||
CFLAGS="$METACITY_CFLAGS $CFLAGS"
|
||||
|
||||
@ -75,6 +75,12 @@ fi
|
||||
|
||||
AC_SUBST(GDK_PIXBUF_CSOURCE)
|
||||
|
||||
## hack to work with old GTK versions for now
|
||||
save_LDFLAGS=$LDFLAGS
|
||||
LDFLAGS="$METACITY_LIBS $LDFLAGS"
|
||||
AC_CHECK_FUNCS(gdk_pixbuf_new_from_stream)
|
||||
LDFLAGS=$save_LDFLAGS
|
||||
|
||||
AC_OUTPUT([
|
||||
Makefile
|
||||
src/Makefile
|
||||
|
5
src/ui.c
5
src/ui.c
@ -19,6 +19,7 @@
|
||||
* 02111-1307, USA.
|
||||
*/
|
||||
|
||||
#include <config.h>
|
||||
#include "ui.h"
|
||||
#include "frames.h"
|
||||
#include "util.h"
|
||||
@ -430,6 +431,10 @@ meta_ui_pop_delay_exposes (MetaUI *ui)
|
||||
meta_frames_pop_delay_exposes (ui->frames);
|
||||
}
|
||||
|
||||
#ifdef HAVE_GDK_PIXBUF_NEW_FROM_STREAM
|
||||
#define gdk_pixbuf_new_from_inline gdk_pixbuf_new_from_stream
|
||||
#endif
|
||||
|
||||
GdkPixbuf*
|
||||
meta_ui_get_default_window_icon (MetaUI *ui)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user