Login
[x]
Log in using an account from:
Fedora Account System
Red Hat Associate
Red Hat Customer
Or login using a Red Hat Bugzilla account
Forgot Password
Login:
Hide Forgot
Create an Account
Red Hat Bugzilla – Attachment 145504 Details for
Bug 222507
xmms does not notice if screen size is smaller than the window position specified in config
[?]
New
Simple Search
Advanced Search
My Links
Browse
Requests
Reports
Current State
Search
Tabular reports
Graphical reports
Duplicates
Other Reports
User Changes
Plotly Reports
Bug Status
Bug Severity
Non-Defaults
|
Product Dashboard
Help
Page Help!
Bug Writing Guidelines
What's new
Browser Support Policy
5.0.4.rh83 Release notes
FAQ
Guides index
User guide
Web Services
Contact
Legal
This site requires JavaScript to be enabled to function correctly, please enable it.
[patch]
reposition xmms (so that it is always visible) if screen size shrinks
xmms-1.2.10-reposition.patch (text/plain), 735 bytes, created by
Sami Farin
on 2007-01-13 00:29:53 UTC
(
hide
)
Description:
reposition xmms (so that it is always visible) if screen size shrinks
Filename:
MIME Type:
Creator:
Sami Farin
Created:
2007-01-13 00:29:53 UTC
Size:
735 bytes
patch
obsolete
>--- xmms-1.2.10/xmms/dock.c.bak 2001-03-08 07:48:38.000000000 +0200 >+++ xmms-1.2.10/xmms/dock.c 2007-01-12 22:32:36.156705327 +0200 >@@ -625,6 +625,17 @@ > > void dock_set_uposition(GtkWidget *w, gint x, gint y) > { >+ gint maxx, maxy; >+ >+ maxx = gdk_screen_width(); >+ maxy = gdk_screen_height(); >+ if ((maxx < (x + 15)) || (maxy < (y + 15))) { >+ x = maxx / 2; >+ y = maxy / 2; >+ g_warning("%s: current screen size %dx%d smaller than " >+ "window position specified in config file, resetting to " >+ "x=%d y=%d\n", __FUNCTION__, maxx, maxy, x, y); >+ } > gtk_widget_set_uposition(w, x, y); > gtk_object_set_data(GTK_OBJECT(w), "window_x", GINT_TO_POINTER(x)); > gtk_object_set_data(GTK_OBJECT(w), "window_y", GINT_TO_POINTER(y));
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 222507
: 145504