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 150011 Details for
Bug 222326
Review Request: gxine - GTK frontend for the xine multimedia library
[?]
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]
Patch to keep track of window state, backported from 0.6.0 branch
gxine-0.5.11-windowstate.patch (text/plain), 2.07 KB, created by
Michel Alexandre Salim
on 2007-03-14 01:01:40 UTC
(
hide
)
Description:
Patch to keep track of window state, backported from 0.6.0 branch
Filename:
MIME Type:
Creator:
Michel Alexandre Salim
Created:
2007-03-14 01:01:40 UTC
Size:
2.07 KB
patch
obsolete
>diff -ru gxine-0.5.11-orig/src/noskin_window.c gxine-0.5.11/src/noskin_window.c >--- gxine-0.5.11-orig/src/noskin_window.c 2007-01-31 10:54:56.000000000 -0500 >+++ gxine-0.5.11/src/noskin_window.c 2007-03-13 20:40:19.000000000 -0400 >@@ -59,8 +59,9 @@ > static GtkTooltips *tips; > static int have_video = -1, have_audio = -1; > static struct app_prop_s { >- gboolean sticky, fs, real_sticky; >-} app_prop = { FALSE, FALSE, FALSE }; >+ gboolean sticky, fs, real_sticky, shaded; >+ signed char position; /* <0 = below, >0 = above */ >+} app_prop = { FALSE, FALSE, FALSE, 0 }; > > static GtkWidget *fs_toolbar, *wm_toolbar = NULL; > static Atom opacity_lock; >@@ -459,7 +460,8 @@ > gtk_window_unstick (window); > > /* restore handling wrt window stack */ >- gtk_window_set_keep_above (window, FALSE); >+ gtk_window_set_keep_below (window, app_prop.position < 0); >+ gtk_window_set_keep_above (window, app_prop.position > 0); > > /* reshow the toolbar (if needed) */ > if (!wm_toolbar) >@@ -530,6 +532,13 @@ > gdk_x11_get_xatom_by_name_for_display (d, "_NET_WM_STATE_STICKY"); > Atom fs = > gdk_x11_get_xatom_by_name_for_display (d, "_NET_WM_STATE_FULLSCREEN"); >+ Atom shaded = >+ gdk_x11_get_xatom_by_name_for_display (d, "_NET_WM_STATE_SHADED"); >+ Atom above = >+ gdk_x11_get_xatom_by_name_for_display (d, "_NET_WM_STATE_ABOVE"); >+ Atom below = >+ gdk_x11_get_xatom_by_name_for_display (d, "_NET_WM_STATE_BELOW"); >+ > Atom *atoms = (Atom *) prop; > unsigned long i; > for (i = 0; i < items; ++i) >@@ -537,9 +546,18 @@ > new_prop.real_sticky = TRUE; > else if (atoms[i] == fs) > new_prop.fs = TRUE; >+ else if (atoms[i] == shaded) >+ new_prop.shaded = TRUE; >+ else if (atoms[i] == above) >+ ++new_prop.position; >+ else if (atoms[i] == below) >+ --new_prop.position; > > XFree (prop); > >+ if (gtk_video_is_fullscreen ((GtkVideo *)gtv)) >+ new_prop.position = app_prop.position; /* will be on top regardless */ >+ > if (new_prop.real_sticky) > { > /* sticky only if "sticky" property set & window on all desktops */
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 222326
:
146444
| 150011 |
150929