summaryrefslogtreecommitdiff
path: root/src/c-screen.c
Commit message (Collapse)AuthorAgeFilesLines
* Delete unused META_PRIORITY_COMPOSITESøren Sandmann2006-05-041-46/+86
| | | | | | | | | | | | | | | | | | | | | | Thu May 4 13:30:04 2006 Søren Sandmann <sandmann@redhat.com> * src/ui.h: Delete unused META_PRIORITY_COMPOSITE * src/ui.c: Delete argument from meta_ui_get_display(). * src/c-window.c: Remove the xid->window hashtable and associated code. * src/c-screen.[ch]: Rename MetaScreenInfo to MetaCompScreen. Put the xid->windows table here instaed of as a static variable. Also make sure that CompWindows are freed when the screen is unredirected. * src/display.c: Delete non USE_GDK_DISPLAY case, as it didn't work and hasn't been compiled for a long time. * src/display.[ch] (meta_display_open): Remove argument as it was always NULL (and couldn't possibly be anything else in the USE_GDK_DISPLAY case).
* New filesSøren Sandmann2006-05-021-540/+365
| | | | | | | | | Tue May 2 17:12:54 2006 Søren Sandmann <sandmann@redhat.com> * src/c-window.[ch]: New files * src/c-screen.c: Move WindowInfo struct to new c-window.[ch] files. Delete various bits of obsolete, commented-out code.
* Check for both POPUP and DROPDOWN.Søren Sandmann2006-04-131-4/+10
| | | | | | | Thu Apr 13 12:23:28 2006 Søren Sandmann <sandmann@redhat.com> * src/c-screen.c (meta_screen_info_add_window): Check for both POPUP and DROPDOWN.
* Check if the window is a menu and make it 90% opaque in that case.Søren Sandmann2006-04-101-44/+120
| | | | | | | | | | | | | | Mon Apr 10 16:44:51 2006 Søren Sandmann <sandmann@redhat.com> * src/c-screen.c (is_menu): Check if the window is a menu and make it 90% opaque in that case. * src/c-screen.c (claim_selection): Handle CM_Sn selection properly. * src/c-screen.c: Remove debug spew * src/screen.c (meta_screen_composite_all_windows): Remove debug spew
* Release the GL window here. Disconect from the magnifier, not the stacker.Søren Sandmann2006-03-311-1/+4
| | | | | | | Fri Mar 31 16:44:56 2006 Søren Sandmann <sandmann@redhat.com> * src/c-screen.c (meta_screen_info_unredirect): Release the GL window here. Disconect from the magnifier, not the stacker.
* Only use magnifier when USE_MAGNIFIER is set.Søren Sandmann2006-03-311-1/+5
| | | | | | | | | | Fri Mar 31 12:24:26 2006 Søren Sandmann <sandmann@redhat.com> * src/c-screen.c (meta_screen_info_redirect): Only use magnifier when USE_MAGNIFIER is set. * src/compositor.c (meta_compositor_free_window): Only wobble when USE_WOBBLE is set.
* Don't hardcode screen size.Søren Sandmann2006-03-311-10/+17
| | | | | | | Fri Mar 31 12:13:21 2006 Søren Sandmann <sandmann@redhat.com> * src/c-screen.c (meta_screen_info_redirect): Don't hardcode screen size.
* Turn wobbling back on Add new explosion effect.Søren Sandmann2006-03-301-3/+39
| | | | | | Thu Mar 30 16:13:52 2006 Søren Sandmann <sandmann@redhat.com> * composite.c: Turn wobbling back on Add new explosion effect.
* Also check for overlay_window.Søren Sandmann2006-03-281-1/+6
| | | | | | | | | Tue Mar 28 09:57:26 2006 Søren Sandmann <sandmann@redhat.com> * src/c-screen.c (meta_screen_info_add_window): Also check for overlay_window. * src/c-screen.c (meta_screen_info_redirect): Trap errors out of unredirect().
* Actually remove the window.Søren Sandmann2006-03-221-4/+9
| | | | | | | | | | Wed Mar 22 13:16:48 2006 Søren Sandmann <sandmann@redhat.com> * src/compositor.c (meta_compositor_remove_window): Actually remove the window. * src/c-screen.c (meta_screen_info_remove_window): Only remove node if non-NULL
* Put a square below the desktop stack.Søren Sandmann2006-03-221-4/+20
| | | | | | | Wed Mar 22 10:33:21 2006 Søren Sandmann <sandmann@redhat.com> * src/c-screen.c (meta_screen_info_redirect): Put a square below the desktop stack.
* Put the desktop into a magnifier.Søren Sandmann2006-03-201-20/+37
| | | | | | | | | | | | Mon Mar 20 11:50:44 2006 Søren Sandmann <sandmann@redhat.com> * src/c-screen.c (meta_screen_info_redirect): Put the desktop into a magnifier. * src/c-screen.c (struct MetaScreenInfo): Add a CmMagnifier * src/c-screen.c (meta_screen_info_redirect): Move some of the gl window related stuff here.
* 2006-03-16 Soren Sandmann (sandmann@daimi.au.dk)Søren Sandmann Pedersen2006-03-171-3/+1
| | | | | * src/c-screen.c (meta_screen_info_set_target_rect): Put inside COMPOSIT_EXTENSIONS
* Maintain the size of the window.Søren Sandmann2006-03-161-3/+21
| | | | | | | Thu Mar 16 14:55:18 2006 Søren Sandmann <sandmann@redhat.com> * src/c-screen.c (struct WindowInfo): Maintain the size of the window.
* Use set_target_rect() instead of set_size().Søren Sandmann2006-03-151-0/+16
| | | | | | | | | | | | | | | Wed Mar 15 16:30:09 2006 Søren Sandmann <sandmann@redhat.com> * src/compositor.c (set_geometry): Use set_target_rect() instead of set_size(). * src/c-screen.c: Add set_target_rect() as a way of scaling windows. * src/window.c (meta_window_handle_mouse_grab_op_event): Turn updates on after a button release. * src/window.c (meta_window_move_resize_internal): Fix indentation.
* Use unset_patch() instead of unset_geometry().Søren Sandmann2006-03-151-2/+5
| | | | | | | Wed Mar 15 11:34:54 2006 Søren Sandmann <sandmann@redhat.com> * src/c-screen.c (meta_screen_info_add_window): Use unset_patch() instead of unset_geometry().
* Comment out wobblingSøren Sandmann2006-03-141-38/+118
| | | | | | | | | | | | | | | | | | | | Tue Mar 14 11:57:46 2006 Søren Sandmann <sandmann@redhat.com> * src/compositor.c: Comment out wobbling * src/compositor.c (blow_up): remove this function * src/compositor.c (process_configure_notify): Uncomment set_size(). * src/c-screen.c (meta_screen_info_set_updates): When updates are true, set all the properties such as size and shape. * src/c-screen.c (meta_screen_info_add_window): Create a special WindowInfo structure for each window. * src/c-screen.c (meta_screen_info_set_size): Set size and output shape of the drawable node.
* Update for libcm API change.Søren Sandmann2006-03-031-4/+3
| | | | | | | Fri Mar 3 15:31:04 2006 Søren Sandmann <sandmann@redhat.com> * src/c-screen.c (meta_screen_info_new): Update for libcm API change.
* Split the ScreenInfo data structure into separate, new filesSøren Sandmann2006-03-031-0/+521
Wed Mar 3 13:25:03 2006 Søren Sandmann <sandmann@redhat.com> * src/compositor.c, src/c-screen.[ch]: Split the ScreenInfo data structure into separate, new files c-screen.[ch]. * src/errors.c (x_error_handler): Forward foreign errors to foreign displays. * src/errors.c (meta_errors_register_foreign_display): Implement this function * src/errors.h: Add new meta_errors_register_foreign_display()